ZF\Apigility\Admin\Controller\ModuleCreationControllerFactory::__invoke PHP Method

__invoke() public method

public __invoke ( Interop\Container\ContainerInterface $container, string $requestedName, array $options = null ) : ModuleCreationController
$container Interop\Container\ContainerInterface
$requestedName string
$options array
return ModuleCreationController
    public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
    {
        return new ModuleCreationController($container->get(ModuleModel::class));
    }
ModuleCreationControllerFactory