public function canResolve(ValueInterface $value) : bool { return $value instanceof FunctionCallValue; }
public function testCanResolvePropertyReferenceValues() { $resolver = new PhpFunctionCallValueResolver([], new FakeValueResolver()); $this->assertTrue($resolver->canResolve(new FunctionCallValue(''))); $this->assertFalse($resolver->canResolve(new FakeValue())); }