protected function getFieldByColumn($column)
    {
        return $this->builder->fields()->first(
            function (Field $field) use ($column) {
                if (is_array($field->column())) {
                    return in_array($column, $field->column(), true);
                }

                return $field->column() === $column;
            }
        );
    }
protected function getFieldByColumn($column)
    {
        return $this->builder->fields()->first(
            function (Field $field) use ($column) {
                if (is_array($field->column())) {
                    return in_array($column, $field->column(), true);
                }

                return $field->column() === $column;
            }
        );
    }
protected function getFieldByColumn ( $ column ) { return $ this -> builder -> fields ( ) -> first ( function ( Field $ field ) use ( $ column ) { if ( is_array ( $ field -> column ( ) ) ) { return in_array ( $ column , $ field -> column ( ) , true ) ; } return $ field -> column ( ) === $ column ; } ) ; }
Find field object by column.

@param $column

@return mixed
Find field object by column .