PHP Class ZF\Apigility\Admin\Model\AuthorizationModelFactory

Mostra file Open project: zfcampus/zf-apigility-admin

Protected Properties

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

Public Methods

Method Description
__construct ( ModulePathSpec $modules, ZF\Configuration\ResourceFactory $configFactory, ModuleModel $moduleModel )
factory ( string $module ) : AuthorizationModel

Protected Methods

Method Description
normalizeModuleName ( string $name ) : string

Method Details

__construct() public method

public __construct ( ModulePathSpec $modules, ZF\Configuration\ResourceFactory $configFactory, ModuleModel $moduleModel )
$modules ModulePathSpec
$configFactory ZF\Configuration\ResourceFactory
$moduleModel ModuleModel

factory() public method

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

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