Ejemplo n.º 1
0
 public function endGroup()
 {
     $oldGroup = $this->currentGroup;
     parent::endGroup();
     if ($oldGroup instanceof \PHPixie\ORM\Conditions\Condition\Collection\RelatedTo) {
         array_pop($this->modelNameStack);
         $this->currentModelName = end($this->modelNameStack);
     }
     return $this;
 }