Exemple #1
0
 public function __construct(FilterBase $filter = null, OrderBase $order = null, Limit $limit = null)
 {
     parent::__construct();
     $this->_filter = $filter;
     $this->_order = $order;
     $this->_limit = $limit;
 }
 public function __construct($id)
 {
     if (is_int($id) || $id instanceof Guid) {
         $this->_id = $id;
     } else {
         throw new Exception("Id in query may be Integer or Guid type");
     }
     parent::__construct();
 }