Метод | Описание | |
---|---|---|
__invoke ( Interop\Container\ContainerInterface $container, string $requestedName, array $options = null ) : Zend\Db\TableGateway\TableGateway | Create and return the requested table gateway instance. | |
canCreate ( Interop\Container\ContainerInterface $container, string $requestedName ) : boolean | Can this factory create the requested table gateway? | |
canCreateServiceWithName ( Zend\ServiceManager\ServiceLocatorInterface $container, string $name, string $requestedName ) : boolean | Can this factory create the requested table gateway? (v2) | |
createServiceWithName ( Zend\ServiceManager\ServiceLocatorInterface $container, string $name, string $requestedName ) : Zend\Db\TableGateway\TableGateway | Create and return the requested table gateway instance (v2). |
Метод | Описание | |
---|---|---|
getAdapterFromConfig ( array $config, Interop\Container\ContainerInterface $container ) : Zend\Db\Adapter\AdapterInterface | Retrieve a zend-db adapter via provided configuration. | |
getEntityFromConfig ( array $config, string $requestedName ) : string | Retrieve the configured entity. | |
getHydratorFromConfig ( array $config, Interop\Container\ContainerInterface $container ) : Zend\Hydrator\HydratorInterface | Retrieve the configured hydrator. | |
isValidConfig ( array $config, Interop\Container\ContainerInterface $container ) : boolean | Is the configuration valid? |
public createServiceWithName ( Zend\ServiceManager\ServiceLocatorInterface $container, string $name, string $requestedName ) : Zend\Db\TableGateway\TableGateway | ||
$container | Zend\ServiceManager\ServiceLocatorInterface | |
$name | string | |
$requestedName | string | |
Результат | Zend\Db\TableGateway\TableGateway |
protected getAdapterFromConfig ( array $config, Interop\Container\ContainerInterface $container ) : Zend\Db\Adapter\AdapterInterface | ||
$config | array | |
$container | Interop\Container\ContainerInterface | |
Результат | Zend\Db\Adapter\AdapterInterface |
protected getHydratorFromConfig ( array $config, Interop\Container\ContainerInterface $container ) : Zend\Hydrator\HydratorInterface | ||
$config | array | |
$container | Interop\Container\ContainerInterface | |
Результат | Zend\Hydrator\HydratorInterface |
protected isValidConfig ( array $config, Interop\Container\ContainerInterface $container ) : boolean | ||
$config | array | |
$container | Interop\Container\ContainerInterface | |
Результат | boolean |