Skip to content

Instantly share code, notes, and snippets.

@dragoonis dragoonis/test.php Secret
Last active Dec 16, 2015

What would you like to do?
namespace Database\Factory;
use Zend\ServiceManager\ServiceLocatorInterface;
use Zend\ServiceManager\FactoryInterface;
use Database\Service\SayService;
class SayServiceFactory implements FactoryInterface
public function createService(ServiceLocatorInterface $sm)
return new SayService();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.