N98\Magento\Command\Installer\InstallCommand::getInstallScriptPath PHP Метод

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

Check if we have a magento 2 or 1 installation and return path to install.php
protected getInstallScriptPath ( ) : string
Результат string
    protected function getInstallScriptPath()
    {
        $magento1InstallScriptPath = $this->config['installationFolder'] . '/' . MAGENTO_INSTALL_SCRIPT_PATH;
        $magento2InstallScriptPath = $this->config['installationFolder'] . '/dev/shell/install.php';
        if (file_exists($magento2InstallScriptPath)) {
            return $magento2InstallScriptPath;
        }
        return $magento1InstallScriptPath;
    }