analyses existing services.
Warning: if 2 or more services have the same name, t-only one will appear in the returned data, as it is an associative array using the service name as key.
package | Amfphp_Plugins_Discovery |
---|---|
author | Ariel Sommeria-Klein |
_getMethodRoles(string $methodName) : array
string
array
discover() : array
array
of AmfphpDiscovery_ServiceInfogetServiceNames(array $serviceFolderPaths, array $serviceNames2ClassFindInfo) : array
array
array
array
of service namesparseMethodComment(string $comment) : \array{'returns'
type is first word after tag name, name of the variable is second word ($ is removed) - return tag
string
\array{'returns'
=> type, 'params' => array{var name => type}}searchFolderForServices(string $rootPath, string $subFolder) : array
If in subfolders add the relative path to the name. recursive, so use with care.
string
string
array
$restrictAccess : boolean
$serviceFolderPaths : array
set by plugin.
$serviceNames2ClassFindInfo : array