testing requires some services.
They are described here.
| package | Tests_TestData |
|---|---|
| author | Ariel Sommeria-klein |
__construct()
$checkArgumentCount : Boolean
This should be set to false in production for performance reasons default is true
| inherited_from | \Amfphp_Core_Config::$$checkArgumentCount |
|---|
$disabledPlugins : array
| inherited_from | \Amfphp_Core_Config::$$disabledPlugins |
|---|
$pluginsConfig : array
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
defaults to AMFPHP_ROOTPATH . '/Plugins/'
| inherited_from | \Amfphp_Core_Config::$$pluginsFolders |
|---|
$serviceFolderPaths : \<array>
| inherited_from | \Amfphp_Core_Config::$$serviceFolderPaths |
|---|
$serviceNames2ClassFindInfo : \<array>
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
The format is paramName/paramValue pairs as an array.
| inherited_from | \Amfphp_Core_Config::$$sharedConfig |
|---|
CONFIG_RETURN_ERROR_DETAILS : Boolean
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 |
|---|