コード例 #1
0
 /**
  * @return array
  */
 private function convertSet(ISubjectivity $object)
 {
     $set = array();
     foreach ($this->set as $item) {
         $set[] = $object->subject($item);
     }
     return $set;
 }
コード例 #2
0
 function toSubjected(ISubjectivity $object)
 {
     return new self($object->convert($this->subject, $this), $object->convert($this->from, $this), $object->convert($this->to, $this));
 }
コード例 #3
0
 function toSubjected(ISubjectivity $object)
 {
     $clone = new self($this->name);
     foreach ($this->args as $arg) {
         $clone->args[] = $object->subject($arg, $this);
     }
     return $clone;
 }
コード例 #4
0
ファイル: OrderBy.class.php プロジェクト: phoebius/phoebius
 function toSubjected(ISubjectivity $object)
 {
     return new self($object->subject($this->expression), $this->direction ? new OrderDirection($this->direction->getValue()) : null);
 }
コード例 #5
0
 function toSubjected(ISubjectivity $object)
 {
     return new self($object->subject($this->subject, $this), $this->operator, $object->subject($this->value, $this));
 }
コード例 #6
0
 function toSubjected(ISubjectivity $object)
 {
     return new self($object->subject($this->subject, $this), $this->logic);
 }