Pinq\Providers\DSL\Compilation\Processors\Visitors\ScopeProcessor::visitOrderBy PHP Метод

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

public visitOrderBy ( OrderBy $segment )
$segment Pinq\Queries\Segments\OrderBy
    public function visitOrderBy(Segments\OrderBy $segment)
    {
        return $segment;
    }

Usage Example

 public function visitOrderBy(Segments\OrderBy $segment)
 {
     foreach ($segment->getOrderings() as $ordering) {
         $this->parameters->addId($ordering->getIsAscendingId(), ParameterHasher::valueType());
     }
     return parent::visitOrderBy($segment);
 }
All Usage Examples Of Pinq\Providers\DSL\Compilation\Processors\Visitors\ScopeProcessor::visitOrderBy