src/GameOfLife/Inputs/BoardEditor/BoardEditorOption.php
/**
     * Checks whether this option has the alias $_alias.
     *
     * @param String $_alias The alias to search for
     *
     * @return bool Indicates whether the alias belongs to this option
     */
Checks whether this option has the alias $_alias.
@param String $_alias The alias to search for

@return bool Indicates whether the alias belongs to this option
Checks whether this option has the alias $_alias . @param String $_alias The alias to search for @return bool Indicates whether the alias belongs to this option
public function hasAlias(String $_alias)
    {
        foreach ($this->aliases as $alias)
        {
            if (strtolower($_alias) == strtolower($alias)) return true;
        }
        return false;
    }
public function hasAlias ( String $ _alias ) { foreach ( $ this -> aliases as $ alias ) { if ( strtolower ( $ _alias ) == strtolower ( $ alias ) ) return true ; } return false ; }
Checks whether this option has the alias $_alias.
Checks whether this option has the alias $_alias .