EzSystems\PlatformInstallerBundle\Command\InstallPlatformCommand::checkPermissions PHP Method

checkPermissions() private method

private checkPermissions ( )
    private function checkPermissions()
    {
        if (!is_writable('web') && !is_writable('web/var')) {
            $this->output->writeln('[web/ | web/var] is not writable');
            exit(self::EXIT_MISSING_PERMISSIONS);
        }
    }