Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (28 sloc) 714 Bytes
<?php
/**
* @link http://kimprince.com/starter/starter-application-v10 for usage info
*/
namespace Core\Service\Event;
/**
* Class Abstract Listener
*/
abstract class AbstractListener
{
/**
* @var \Zend\ServiceManager\ServiceLocatorInterface
*/
protected $serviceLocator;
/**
* @param \Zend\ServiceManager\ServiceLocatorInterface $sm
*/
public function __construct(\Zend\ServiceManager\ServiceLocatorInterface $sm)
{
$this->serviceLocator = $sm;
}
/**
* Attach listeners to event manager
*
* @param \Zend\EventManager\EventManagerInterface $em
*/
abstract public function attach(\Zend\EventManager\EventManagerInterface $em);
}