Hi,
Thanks for your awesome extension, i will never understand why it's not in Twig...
But i have this error:

With this code in my twig template:
{% if move is instanceof(getAttackFqcn()) %}
Here is the dump before the exception is throwned:
# vendor/twig/twig/src/Node/Node.php
public function getAttribute(string $name)
{
if (!\array_key_exists($name, $this->attributes)) {
dd($this->attributes);
throw new \LogicException(sprintf('Attribute "%s" does not exist for Node "%s".', $name, static::class));
}
return $this->attributes[$name];
}
^ array:2 [
"name" => "getAttackFqcn"
"is_defined_test" => false
]
Hi,
Thanks for your awesome extension, i will never understand why it's not in Twig...
But i have this error:

With this code in my twig template:
{% if move is instanceof(getAttackFqcn()) %}Here is the dump before the exception is throwned: