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);
        }
    }
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);
        }
    }
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 ) ; } }
Check the given model name to be not one of the reserved words of PHP.

@param string $modelName
@return boolean
@see http://www.php.net/manual/en/reserved.keywords.php
Check the given model name to be not one of the reserved words of PHP .