7 <<Attribute(Class1
::class)>> // Should allow builtin class class constant
8 public function index() {}
11 function get_attributes(): void
{
12 $rc = new ReflectionClass("Class2");
13 var_dump($rc->getMethods()[0]->getAttributes()["Attribute"]);
16 echo get_attributes();