/**
  * @return array
  */
 private function convertSet(ISubjectivity $object)
 {
     $set = array();
     foreach ($this->set as $item) {
         $set[] = $object->subject($item);
     }
     return $set;
 }
 function toSubjected(ISubjectivity $object)
 {
     return new self($object->convert($this->subject, $this), $object->convert($this->from, $this), $object->convert($this->to, $this));
 }
 function toSubjected(ISubjectivity $object)
 {
     $clone = new self($this->name);
     foreach ($this->args as $arg) {
         $clone->args[] = $object->subject($arg, $this);
     }
     return $clone;
 }
Beispiel #4
0
 function toSubjected(ISubjectivity $object)
 {
     return new self($object->subject($this->expression), $this->direction ? new OrderDirection($this->direction->getValue()) : null);
 }
 function toSubjected(ISubjectivity $object)
 {
     return new self($object->subject($this->subject, $this), $this->operator, $object->subject($this->value, $this));
 }
 function toSubjected(ISubjectivity $object)
 {
     return new self($object->subject($this->subject, $this), $this->logic);
 }