yii\sphinx\IndexSchema::getColumn PHP Méthode

getColumn() public méthode

This is a convenient method for retrieving a named column even if it does not exist.
public getColumn ( string $name ) : ColumnSchema
$name string column name
Résultat ColumnSchema metadata of the named column. Null if the named column does not exist.
    public function getColumn($name)
    {
        return isset($this->columns[$name]) ? $this->columns[$name] : null;
    }