ReflectionClass::newInstanceArgs when class constructor has Class …$class declaration
I’m trying to invoke public ReflectionClass::newInstanceArgs(array $args = []): ?object
method on class which has the following constructor:
I’m trying to invoke public ReflectionClass::newInstanceArgs(array $args = []): ?object
method on class which has the following constructor: