- Output for 7.1.7
- Parse error: syntax error, unexpected 'class' (T_CLASS), expecting ',' or ';' in /in/RRQep on line 5
Process exited with code 255.
<?php
use Selami\Foundation\App
class MyClass{
public function __construct(App::class $app)
{
}
}
$class = new ReflectionClass(MyClass::class);
$constructor = $class->getConstructor();
var_dump($constructor);