isReservedKeyword() public static method

Check the given keyword to be not one of the reserved words of PHP.
See also: http://www.php.net/manual/en/reserved.keywords.php
public static isReservedKeyword ( string $keyword ) : boolean
$keyword string
return boolean
 /**
  * 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
  */
 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);
     }
 }