PHP Class ZF\Apigility\Admin\Model\RpcServiceModelFactory

Datei anzeigen Open project: zfcampus/zf-apigility-admin Class Usage Examples

Protected Properties

Property Type Description
$configFactory ZF\Configuration\ResourceFactory
$models array Already created model instances
$moduleModel ModuleModel
$modules ModulePathSpec
$sharedEventManager Zend\EventManager\SharedEventManagerInterface

Public Methods

Method Description
__construct ( ModulePathSpec $modules, ZF\Configuration\ResourceFactory $configFactory, Zend\EventManager\SharedEventManagerInterface $sharedEvents, ModuleModel $moduleModel )
factory ( string $module ) : RpcServiceModel

Protected Methods

Method Description
normalizeModuleName ( string $name ) : string

Method Details

__construct() public method

public __construct ( ModulePathSpec $modules, ZF\Configuration\ResourceFactory $configFactory, Zend\EventManager\SharedEventManagerInterface $sharedEvents, ModuleModel $moduleModel )
$modules ModulePathSpec
$configFactory ZF\Configuration\ResourceFactory
$sharedEvents Zend\EventManager\SharedEventManagerInterface
$moduleModel ModuleModel

factory() public method

public factory ( string $module ) : RpcServiceModel
$module string
return RpcServiceModel

normalizeModuleName() protected method

Deprecation:
protected normalizeModuleName ( string $name ) : string
$name string
return string

Property Details

$configFactory protected_oe property

protected ResourceFactory,ZF\Configuration $configFactory
return ZF\Configuration\ResourceFactory

$models protected_oe property

Already created model instances
protected array $models
return array

$moduleModel protected_oe property

protected ModuleModel,ZF\Apigility\Admin\Model $moduleModel
return ModuleModel

$modules protected_oe property

protected ModulePathSpec,ZF\Apigility\Admin\Model $modules
return ModulePathSpec

$sharedEventManager protected_oe property

protected SharedEventManagerInterface,Zend\EventManager $sharedEventManager
return Zend\EventManager\SharedEventManagerInterface