PHP Class ZF\Apigility\Admin\Model\ModuleEntity

Afficher le fichier Open project: zfcampus/zf-apigility-admin Class Usage Examples

Protected Properties

Свойство Type Description
$defaultVersion integer
$isVendor boolean
$name string
$namespace string
$restServices array
$rpcServices array
$versions array

Méthodes publiques

Méthode Description
__construct ( string $namespace, array $restServices = [], array $rpcServices = [], boolean $isVendor = null )
exchangeArray ( array $data ) Populate object from array
getArrayCopy ( ) : array Retrieve array representation
getDefaultVersion ( ) : integer
getLatestVersion ( ) : integer
getName ( ) : string
getNamespace ( ) : string
getRestServices ( ) : array
getRpcServices ( ) : array
getVersions ( ) : array
isVendor ( ) : boolean

Méthodes protégées

Méthode Description
determineVendorStatus ( ) Determine whether or not a module is a vendor module

Method Details

__construct() public méthode

public __construct ( string $namespace, array $restServices = [], array $rpcServices = [], boolean $isVendor = null )
$namespace string
$restServices array
$rpcServices array
$isVendor boolean

determineVendorStatus() protected méthode

Use ReflectionClass to determine the filename, and then checks if the module lives in a vendor subdirectory.
protected determineVendorStatus ( )

exchangeArray() public méthode

Populate object from array
public exchangeArray ( array $data )
$data array

getArrayCopy() public méthode

Retrieve array representation
public getArrayCopy ( ) : array
Résultat array

getDefaultVersion() public méthode

public getDefaultVersion ( ) : integer
Résultat integer

getLatestVersion() public méthode

public getLatestVersion ( ) : integer
Résultat integer

getName() public méthode

public getName ( ) : string
Résultat string

getNamespace() public méthode

public getNamespace ( ) : string
Résultat string

getRestServices() public méthode

public getRestServices ( ) : array
Résultat array

getRpcServices() public méthode

public getRpcServices ( ) : array
Résultat array

getVersions() public méthode

public getVersions ( ) : array
Résultat array

isVendor() public méthode

public isVendor ( ) : boolean
Résultat boolean

Property Details

$defaultVersion protected_oe property

protected int $defaultVersion
Résultat integer

$isVendor protected_oe property

protected bool $isVendor
Résultat boolean

$name protected_oe property

protected string $name
Résultat string

$namespace protected_oe property

protected string $namespace
Résultat string

$restServices protected_oe property

protected array $restServices
Résultat array

$rpcServices protected_oe property

protected array $rpcServices
Résultat array

$versions protected_oe property

protected array $versions
Résultat array