Property | Type | Description | |
---|---|---|---|
$configResource | |||
$docsConfigResource | |||
$moduleNameFilter |
Method | Description | |
---|---|---|
__construct ( ZF\Configuration\ConfigResource $config, ZF\Configuration\ConfigResource $docsConfig = null, |
||
createVersion ( string $module, integer $version, boolean | string $path = false ) : boolean | Create a new version for a module | |
getModuleVersions ( string $module, boolean | string $path = false ) : array | boolean | Get the versions of a module | |
setDefaultVersion ( integer $defaultVersion ) : boolean | Updates the default version of a module that will be used if no version is specified by the API consumer. |
Method | Description | |
---|---|---|
getModuleNameFilter ( ) : Zend\Filter\FilterChain | Filter for module names | |
getModuleSourcePath ( string $module, boolean $appendNamespace = true ) : string | Determine the source path for the module | |
locateConfigPath ( string $srcPath ) : string | false | Locate the config path for this module | |
normalizeModule ( string $module ) : string | Normalize a module name |
Method | Description | |
---|---|---|
getModuleVersioningModel ( $name, null | string $srcPath = null ) : |
getModuleVersioningModel |
public __construct ( ZF\Configuration\ConfigResource $config, ZF\Configuration\ConfigResource $docsConfig = null, |
||
$config | ZF\Configuration\ConfigResource | |
$docsConfig | ZF\Configuration\ConfigResource | |
$pathSpec |
protected getModuleNameFilter ( ) : Zend\Filter\FilterChain | ||
return | Zend\Filter\FilterChain |
protected locateConfigPath ( string $srcPath ) : string | false | ||
$srcPath | string | |
return | string | false |
protected normalizeModule ( string $module ) : string | ||
$module | string | |
return | string |
public setDefaultVersion ( integer $defaultVersion ) : boolean | ||
$defaultVersion | integer | |
return | boolean |