TplBlock/vendor/zendframework/zend-servicemanager/benchmarks/BenchAsset/FactoryFoo.php
2018-03-26 21:57:35 +02:00

14 lines
308 B
PHP

<?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();
}
}