Symfony\Installer\DownloadCommand::checkPermissions PHP Метод

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

Checks if the installer has enough permissions to create the project.
protected checkPermissions ( )
    protected function checkPermissions()
    {
        $projectParentDirectory = dirname($this->projectDir);
        if (!is_writable($projectParentDirectory)) {
            throw new IOException(sprintf('Installer does not have enough permissions to write to the "%s" directory.', $projectParentDirectory));
        }
        return $this;
    }