Due to PHP Bug #53727, is_subclass_of might return inconsistent results on some PHP versions if \Acelaya\Website\Action\AbstractAction::class can be an interface. If so, you could instead use ReflectionClass::implementsInterface.
Loading history...
24
}
25
26
/**
27
* Create an object
28
*
29
* @param ContainerInterface $container
30
* @param string $requestedName
31
* @param null|array $options
32
* @return object
33
* @throws ServiceNotFoundException if unable to resolve the service.
34
* @throws ServiceNotCreatedException if an exception is raised when
35
* creating a service.
36
* @throws ContainerException if any other error occurs
37
*/
38
1
public function __invoke(ContainerInterface $container, $requestedName, array $options = null)