PhpBrew\Command\InitCommand::getCurrentShellDirectory PHP Метод

getCurrentShellDirectory() защищенный Метод

protected getCurrentShellDirectory ( )
    protected function getCurrentShellDirectory()
    {
        $path = Phar::running();
        if ($path) {
            $path = $path . DIRECTORY_SEPARATOR . 'shell';
        } else {
            $path = dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'shell';
        }
        return $path;
    }