예제 #1
0
 /**
  * @param Visitor $visitor                    rql query visitor
  * @param array   $notModifiableOriginRecords strings with not modifiable recordOrigin values
  * @param integer $paginationDefaultLimit     amount of data records to be returned when in pagination context.
  */
 public function __construct(Visitor $visitor, $notModifiableOriginRecords, $paginationDefaultLimit)
 {
     parent::__construct();
     $this->visitor = $visitor;
     $this->notModifiableOriginRecords = $notModifiableOriginRecords;
     $this->paginationDefaultLimit = (int) $paginationDefaultLimit;
 }
예제 #2
0
 /**
  * @param Factory $rqlFactory factory object to use
  */
 public function __construct(Factory $rqlFactory)
 {
     parent::__construct();
     $this->rqlFactory = $rqlFactory;
 }