Class AmfphpDiscovery

Description

adds the discovery service, a service that returns information about available services.

Don't use on a production server unless you know what you're doing!

  • author: Ariel Sommeria-Klein

Located in /Amfphp/Plugins/AmfphpDiscovery/AmfphpDiscovery.php (line 28)


	
			
Variable Summary
Method Summary
AmfphpDiscovery __construct ([ $config = null])
void filterServiceFolderPaths ( $serviceFolderPaths)
void filterServiceNames2ClassFindInfo ( $serviceNames2ClassFindInfo)
Variables
mixed $excludePaths = array('Vo/') (line 35)

array of files and folders to ignore during introspection of the services dir

e.g. ignore dBug.php, an entire directory called 'classes' and also a subdirectory of one of the service directories (Vo/) $this->pluginsConfig = array('AmfphpDiscovery' => array('excludePaths' => array('dBug', 'classes', 'Vo/'))); default is for ignoring Vo/ folder

  • access: protected
Methods
Constructor __construct (line 42)

constructor.

adds filters to grab config about services and add discovery service. Low priority so that other plugins can add their services first

  • access: public
AmfphpDiscovery __construct ([ $config = null])
  • array $config: optional key/value pairs in an associative array. Used to override default configuration values.
filterServiceFolderPaths (line 57)

grabs serviceFolderPaths from config

  • access: public
void filterServiceFolderPaths ( $serviceFolderPaths)
  • array $serviceFolderPaths: serviceFolderPaths array of absolute paths
filterServiceNames2ClassFindInfo (line 65)

grabs serviceNames2ClassFindInfo from config and add discovery service

  • access: public
void filterServiceNames2ClassFindInfo ( $serviceNames2ClassFindInfo)
  • array $serviceNames2ClassFindInfo: associative array of key -> class find info

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