testing requires some services.

They are described here.

package Tests_TestData
author Ariel Sommeria-klein

 Methods

constructor

__construct() 

 Properties

 

$checkArgumentCount : Boolean
Inherited

This should be set to false in production for performance reasons default is true

inherited_from \Amfphp_Core_Config::$$checkArgumentCount
 

$disabledPlugins : array
Inherited
inherited_from \Amfphp_Core_Config::$$disabledPlugins
 

$pluginsConfig : array
Inherited

Add as needed. The advised format is the name of the plugin as key, and then paramName/paramValue pairs as an array. example: array('plugin' => array( 'paramName' =>'paramValue')) The array( 'paramName' =>'paramValue') will be passed as is to the plugin at construction time.

inherited_from \Amfphp_Core_Config::$$pluginsConfig
 

$pluginsFolders : array
Inherited

defaults to AMFPHP_ROOTPATH . '/Plugins/'

inherited_from \Amfphp_Core_Config::$$pluginsFolders
 

$serviceFolderPaths : \<array>
Inherited
inherited_from \Amfphp_Core_Config::$$serviceFolderPaths
 

$serviceNames2ClassFindInfo : \<array>
Inherited

The key is the name of the service, the value is the class find info. for example: $serviceNames2ClassFindInfo["AmfphpDiscoveryService"] = new Amfphp_Core_Common_ClassFindInfo( dirname(FILE) . '/AmfphpDiscoveryService.php', 'AmfphpDiscoveryService'); The forward slash is important, don't use "\'!

inherited_from \Amfphp_Core_Config::$$serviceNames2ClassFindInfo
 

$sharedConfig : array
Inherited

The format is paramName/paramValue pairs as an array.

inherited_from \Amfphp_Core_Config::$$sharedConfig

 Constants

 

if true, there will be detailed information in the error messages, including confidential information like paths.

CONFIG_RETURN_ERROR_DETAILS : Boolean
Inherited

So it is advised to set to true for development purposes and to false in production. default is true. Set in the shared config. for example $this->sharedConfig[self::CONFIG_RETURN_ERROR_DETAILS] = true;

inherited_from \Amfphp_Core_Config::CONFIG_RETURN_ERROR_DETAILS