src/Iterators/ColumnCollection.php
public function getByName($name): Column
    {
        $lookup = array_column($this->getArrayCopy(), null, 'name');

        return $lookup[$name];
    }
public function getByName($name): Column
    {
        $lookup = array_column($this->getArrayCopy(), null, 'name');

        return $lookup[$name];
    }
public function getByName ( $ name ) : Column { $ lookup = array_column ( $ this -> getArrayCopy ( ) , null , 'name' ) ; return $ lookup [ $ name ] ; }
it returns Column object by its name
@param $name
@return Column
it returns Column object by its name