function getScriptPath()
    {
        $fileName = $this->stack->pop();
        if ($this->baseDir) {
            return $this->baseDir . \DIRECTORY_SEPARATOR . $fileName;
        } else {
            return (string)$fileName;
        }
    }
function getScriptPath()
    {
        $fileName = $this->stack->pop();
        if ($this->baseDir) {
            return $this->baseDir . \DIRECTORY_SEPARATOR . $fileName;
        } else {
            return (string)$fileName;
        }
    }
function getScriptPath ( ) { $ fileName = $ this -> stack -> pop ( ) ; if ( $ this -> baseDir ) { return $ this -> baseDir . \ DIRECTORY_SEPARATOR . $ fileName ; } else { return ( string ) $ fileName ; } }
Get script file path

@return string
Get script file path