gnu-social/vendor/zendframework/zend-servicemanager/benchmarks/BenchAsset/FactoryFoo.php

14 lines
308 B
PHP
Raw Normal View History

2020-08-08 07:42:38 +09:00
<?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();
}
}