Esempio n. 1
0
 /**
  * @param mixed $value
  * @return Node\Expr
  * @throws Exception\DomainException
  */
 protected function compileValue($value)
 {
     return Utils::parserNodeFromValue($value);
 }
Esempio n. 2
0
 public function testParserNodeFromValueInvalid()
 {
     $this->setExpectedException(DomainException::class);
     Utils::parserNodeFromValue(tmpfile());
 }