Exemplo n.º 1
0
 /**
  * @covers \DCarbone\Camel\Hump\Where::root
  * @uses \DCarbone\Camel\Hump\Where
  * @expectedException \LogicException
  * @depends testCanSetRootNode
  * @param \DCarbone\Camel\Hump\Where $where
  */
 public function testExceptionThrownWhenSettingAdditionalRootNodes(\DCarbone\Camel\Hump\Where $where)
 {
     $neq = $where->root('neq');
 }
Exemplo n.º 2
0
 /**
  * @param Where $where
  * @return $this
  */
 public function setWhere(Where $where)
 {
     $this->where = $where;
     $this->where->setCamel($this);
     return $this;
 }