LdapTools\Operation\Handler\QueryOperationHandler::shouldUsePaging PHP Method

shouldUsePaging() protected method

Based on the query operation, determine whether paging should be used.
protected shouldUsePaging ( QueryOperation $operation ) : boolean
$operation LdapTools\Operation\QueryOperation
return boolean
    protected function shouldUsePaging(QueryOperation $operation)
    {
        return $operation->getUsePaging() && $operation->getScope() != QueryOperation::SCOPE['BASE'];
    }