Neos\Kickstarter\Command\KickstartCommandController::validateModelName PHP Метод

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

Check the given model name to be not one of the reserved words of PHP.
См. также: http://www.php.net/manual/en/reserved.keywords.php
protected validateModelName ( string $modelName ) : boolean
$modelName string
Результат boolean
    protected function validateModelName($modelName)
    {
        if (Validation::isReservedKeyword($modelName)) {
            $this->outputLine('The name of the model cannot be one of the reserved words of PHP!');
            $this->outputLine('Have a look at: http://www.php.net/manual/en/reserved.keywords.php');
            exit(3);
        }
    }