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"
| inherited_from | \HexCommon\Factory\AbstractTableAbstractFactory::canCreateServiceWithName() |
|---|
\Zend\ServiceManager\ServiceLocatorInterface
string
string
boolcreateServiceWithName(\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator, $name, $requestedName) : mixed
Example: $name = 'blogModelTablePost'; will become: $class = 'Blog\Model\Table\Post';
| inherited_from | \HexCommon\Factory\AbstractTableAbstractFactory::createServiceWithName() |
|---|
\Zend\ServiceManager\ServiceLocatorInterface
string
string
mixed