PHP Class ZF\Apigility\Doctrine\Server\Validator\NoObjectExistsFactory

Inheritance: implements Zend\ServiceManager\FactoryInterface, implements Zend\ServiceManager\MutableCreationOptionsInterface
Exibir arquivo Open project: zfcampus/zf-apigility-doctrine

Protected Properties

Property Type Description
$options array Required for v2 compatibility.

Public Methods

Method Description
__invoke ( Interop\Container\ContainerInterface $container, string $requestedName, array $options = null ) : DoctrineModule\Validator\NoObjectExists
createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : DoctrineModule\Validator\NoObjectExists Create and return an NoObjectExists validator (v2).
setCreationOptions ( array $options ) Allow injecting options at build time; required for v2 compatibility.

Method Details

__invoke() public method

public __invoke ( Interop\Container\ContainerInterface $container, string $requestedName, array $options = null ) : DoctrineModule\Validator\NoObjectExists
$container Interop\Container\ContainerInterface
$requestedName string
$options array
return DoctrineModule\Validator\NoObjectExists

createService() public method

Proxies to __invoke().
public createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : DoctrineModule\Validator\NoObjectExists
$container Zend\ServiceManager\ServiceLocatorInterface
return DoctrineModule\Validator\NoObjectExists

setCreationOptions() public method

Allow injecting options at build time; required for v2 compatibility.
public setCreationOptions ( array $options )
$options array

Property Details

$options protected_oe property

Required for v2 compatibility.
protected array $options
return array