Neos\Flow\Persistence\Repository::setDefaultOrderings PHP Метод

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

Sets the property names to order results by. Expected like this: array( 'foo' => \Neos\Flow\Persistence\QueryInterface::ORDER_ASCENDING, 'bar' => \Neos\Flow\Persistence\QueryInterface::ORDER_DESCENDING )
public setDefaultOrderings ( array $defaultOrderings ) : void
$defaultOrderings array The property names to order by by default
Результат void
    public function setDefaultOrderings(array $defaultOrderings)
    {
        $this->defaultOrderings = $defaultOrderings;
    }