Class AmfphpDiscoveryService

Description

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.

  • author: Ariel Sommeria-Klein

Located in /Amfphp/Plugins/AmfphpDiscovery/AmfphpDiscoveryService.php (line 20)


	
			
Variable Summary
static array $excludePaths
static array $serviceFolderPaths
Method Summary
array discover ()
array getAvailableServiceNames ( $serviceFolderPaths,  $serviceNames2ClassFindInfo)
type searchFolderForServices (type $rootPath, type $subFolder)
Variables
static array $excludePaths (line 25)
static array $serviceFolderPaths (line 31)

paths to folders containing services(relative or absolute). set by plugin.

  • var: of paths
  • access: public
static array $serviceNames2ClassFindInfo (line 37)
  • var: of ClassFindInfo. set by plugin.
  • access: public
Methods
discover (line 87)

does the actual collection of data about available services

  • return: of AmfphpDiscovery_ServiceInfo
  • access: public
array discover ()
getAvailableServiceNames (line 70)

returns a list of available services

  • return: of service names
  • access: protected
array getAvailableServiceNames ( $serviceFolderPaths,  $serviceNames2ClassFindInfo)
  • array $serviceFolderPaths
  • array $serviceNames2ClassFindInfo
searchFolderForServices (line 47)

finds classes in folder. If in subfolders add the relative path to the name.

recursive, so use with care.

  • access: protected
type searchFolderForServices (type $rootPath, type $subFolder)
  • type $rootPath
  • type $subFolder

Documentation generated on Tue, 29 May 2012 23:41:58 +0200 by phpDocumentor 1.4.3