Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace MarketPlace\Attributes\Factory;
- use MarketPlace\Attributes\Service\EavAttributeInputTypeService;
- use MarketPlace\Attributes\Controller\IndexController;
- use Zend\ServiceManager\FactoryInterface;
- use Zend\ServiceManager\ServiceLocatorInterface;
- class EavAttributeInputTypeFactory implements FactoryInterface
- {
- public function createService(ServiceLocatorInterface $serviceLocator)
- {
- $realServiceLocator = $serviceLocator->getServiceLocator();
- $postService = $realServiceLocator->get('MarketPlace\Attributes\Service\EavAttributeInputTypeServiceInterface');
- return new IndexController($postService);
- }
- }
Add Comment
Please, Sign In to add comment