Neos\Flow\Persistence\RepositoryInterface::setDefaultOrderings PHP Méthode

setDefaultOrderings() public méthode

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
Résultat void
    public function setDefaultOrderings(array $defaultOrderings);