An abstract implementation of AbstractFactoryInterface to allow for easier creating *ModelTable* services, which are implementations of Zend\Db\TableGateway\AbstractTableGateway
| package | HexCommon |
|---|
canCreateServiceWithName(\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator, $name, $requestedName) : bool
Returns true if $name contains "ModelTable"
\Zend\ServiceManager\ServiceLocatorInterface
string
string
boolcreateServiceWithName(\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator, $name, $requestedName) : mixed
Example: $name = 'blogModelTablePost'; will become: $class = 'Blog\Model\Table\Post';
\Zend\ServiceManager\ServiceLocatorInterface
string
string
mixed