Méthode | Description | |
---|---|---|
__invoke ( Interop\Container\ContainerInterface $container, string $requestedName, array $options = null ) : |
Create and return the doctrine-connected resource. | |
canCreate ( Interop\Container\ContainerInterface $container, string $requestedName ) : boolean | Can this factory create the requested service? | |
canCreateServiceWithName ( Zend\ServiceManager\ServiceLocatorInterface $container, string $name, string $requestedName ) : boolean | Can this factory create the requested service? (v2) | |
createServiceWithName ( Zend\ServiceManager\ServiceLocatorInterface $container, string $name, string $requestedName ) : |
Create and return the doctrine-connected resource (v2). |
Méthode | Description | |
---|---|---|
getResourceClassFromConfig ( array $config, string $requestedName ) : string | Retrieve the resource class based on the provided configuration. | |
isValidConfig ( array $config, string $requestedName, Interop\Container\ContainerInterface $container ) : boolean | Tests if the configuration is valid | |
loadConfiguredListeners ( Interop\Container\ContainerInterface $container, array $config ) : array | ||
loadHydrator ( Interop\Container\ContainerInterface $container, array $doctrineConnectedConfig, array $doctrineHydratorConfig ) : Zend\Hydrator\HydratorInterface | ||
loadQueryCreateFilter ( Interop\Container\ContainerInterface $container, array $config, Doctrine\Common\Persistence\ObjectManager $objectManager ) : ZF\Apigility\Doctrine\Server\Query\CreateFilter\QueryCreateFilterInterface | ||
loadQueryProviders ( Interop\Container\ContainerInterface $serviceLocator, array $config, Doctrine\Common\Persistence\ObjectManager $objectManager ) : array | ||
normalizeClassname ( string $className ) : string |
public createServiceWithName ( Zend\ServiceManager\ServiceLocatorInterface $container, string $name, string $requestedName ) : |
||
$container | Zend\ServiceManager\ServiceLocatorInterface | |
$name | string | |
$requestedName | string | |
Résultat |
protected loadConfiguredListeners ( Interop\Container\ContainerInterface $container, array $config ) : array | ||
$container | Interop\Container\ContainerInterface | |
$config | array | |
Résultat | array |
protected loadHydrator ( Interop\Container\ContainerInterface $container, array $doctrineConnectedConfig, array $doctrineHydratorConfig ) : Zend\Hydrator\HydratorInterface | ||
$container | Interop\Container\ContainerInterface | |
$doctrineConnectedConfig | array | |
$doctrineHydratorConfig | array | |
Résultat | Zend\Hydrator\HydratorInterface |
protected loadQueryCreateFilter ( Interop\Container\ContainerInterface $container, array $config, Doctrine\Common\Persistence\ObjectManager $objectManager ) : ZF\Apigility\Doctrine\Server\Query\CreateFilter\QueryCreateFilterInterface | ||
$container | Interop\Container\ContainerInterface | |
$config | array | |
$objectManager | Doctrine\Common\Persistence\ObjectManager | |
Résultat | ZF\Apigility\Doctrine\Server\Query\CreateFilter\QueryCreateFilterInterface |
protected loadQueryProviders ( Interop\Container\ContainerInterface $serviceLocator, array $config, Doctrine\Common\Persistence\ObjectManager $objectManager ) : array | ||
$serviceLocator | Interop\Container\ContainerInterface | |
$config | array | |
$objectManager | Doctrine\Common\Persistence\ObjectManager | |
Résultat | array |
protected normalizeClassname ( string $className ) : string | ||
$className | string | |
Résultat | string |