Nextras\Orm\Collection\ArrayCollection::findBy PHP Method

findBy() public method

public findBy ( array $where )
$where array
    public function findBy(array $where)
    {
        $collection = clone $this;
        foreach ($where as $column => $value) {
            $collection->collectionFilter[] = $this->getHelper()->createFilter($column, $value);
        }
        return $collection;
    }