src/Base/Statements.php
public function where(string $column, $value): CollectionInterface
    {
        return $this->filter(
            function ($item) use ($column, $value) {
                if (isset($item[$column])) {
                    return $item[$column] === $value;
                }
            }
        );
    }
public function where(string $column, $value): CollectionInterface
    {
        return $this->filter(
            function ($item) use ($column, $value) {
                if (isset($item[$column])) {
                    return $item[$column] === $value;
                }
            }
        );
    }
public function where ( string $ column , $ value ) : CollectionInterface { return $ this -> filter ( function ( $ item ) use ( $ column , $ value ) { if ( isset ( $ item [ $ column ] ) ) { return $ item [ $ column ] === $ value ; } } ) ; }
Returns a new Collection containing the items in the specified column that are equal to the especified value.

@param string $column The columns to filter by.
@param mixed  $value  The value to compare each item.

@return Collection A new collection instance.
Returns a new Collection containing the items in the specified column that are equal to the especified value .