ZF\Apigility\Admin\Controller\AuthenticationControllerFactory::createService PHP Method

createService() public method

public createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : AuthenticationController
$container Zend\ServiceManager\ServiceLocatorInterface
return AuthenticationController
    public function createService(ServiceLocatorInterface $container)
    {
        if ($container instanceof AbstractPluginManager) {
            $container = $container->getServiceLocator() ?: $container;
        }
        return $this($container, AuthenticationController::class);
    }
AuthenticationControllerFactory