- <?php
- namespace ZendBench\ServiceManager\BenchAsset;
- use Zend\ServiceManager\FactoryInterface;
- use Zend\ServiceManager\ServiceLocatorInterface;
- class FactoryFoo implements FactoryInterface
- {
- public function createService(ServiceLocatorInterface $serviceLocator)
- {
- return new Foo();
- }
- }
|