(new \ReflectionClass($value))->getShortName()), ]; } /** * @return TwigTest[] */ public function getTests(): array { return [ new TwigTest('instanceof', fn ($value, $class) => $value instanceof $class), ]; } }