Skip to content

Instantly share code, notes, and snippets.

@dragoonis
Last active December 16, 2015 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dragoonis/356086d10d0415d65e62 to your computer and use it in GitHub Desktop.
Save dragoonis/356086d10d0415d65e62 to your computer and use it in GitHub Desktop.
<?php
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