src/Teamsisu/MetaModelsFrontendInput/DataContainer/Field/FieldCollection.php
public function findItemByColName($colName)
    {

        if(in_array($colName, $this->index)){
            return $this->items[array_search($colName, $this->index)];
        }

        return false;

    }
public function findItemByColName($colName)
    {

        if(in_array($colName, $this->index)){
            return $this->items[array_search($colName, $this->index)];
        }

        return false;

    }
public function findItemByColName ( $ colName ) { if ( in_array ( $ colName , $ this -> index ) ) { return $ this -> items [ array_search ( $ colName , $ this -> index ) ] ; } return false ; }
Get an item by its colName
@param string $colName
@return BaseField|bool
Get an item by its colName