Pheasant\Collection::unique PHP Метод

unique() публичный Метод

Return only unique combinations of the domain object in the collection, e.g such as when you want only the unique objects that are the result of a join on conditions. Only columns from the primary object will be in the result.
public unique ( )
    public function unique()
    {
        $this->_queryForWrite()->distinct()->select($this->_schema->alias() . ".*");
        return $this;
    }