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