*/ class AuthorizeFactory implements FactoryInterface { /** * {@inheritDoc} * * @return \BjyAuthorize\Service\Authorize */ public function createService(ServiceLocatorInterface $serviceLocator) { return new Authorize($serviceLocator->get('BjyAuthorize\Config'), $serviceLocator); } }