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