An abstraction for the service layer

package HexCommon

 Methods

Get a model table that extends \HexCommon\Model\AbstracTable

get($tableName) : \HexCommon\Model\AbstracTable

Parameters

$tableName

string Name of the table to get from the service locator

Returns

\HexCommon\Model\AbstracTable

Get the service locator for the service layer.

getServiceLocator() : \Zend\ServiceManager\ServiceLocatorInterface

Returns

\Zend\ServiceManager\ServiceLocatorInterface

Set the service locator to use in the service layer.

setServiceLocator(\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator) : \HexCommon\Service\AbstractHelper

Parameters

$serviceLocator

\Zend\ServiceManager\ServiceLocatorInterface

The service locator to set

Returns

\HexCommon\Service\AbstractHelper