src/Service/MelisPhpUnitToolService.php
public function getPayload($module, $methodName)
    {
        $payloads = array();

        $config = $this->getServiceLocator()->get('MelisCoreConfig');
        $payloads = $config->getItem('diagnostic/'.$module.'/methods/'. $this->getMethodName($methodName) .'/payloads');

        return $payloads;

    }
public function getPayload($module, $methodName)
    {
        $payloads = array();

        $config = $this->getServiceLocator()->get('MelisCoreConfig');
        $payloads = $config->getItem('diagnostic/'.$module.'/methods/'. $this->getMethodName($methodName) .'/payloads');

        return $payloads;

    }
public function getPayload ( $ module , $ methodName ) { $ payloads = array ( ) ; $ config = $ this -> getServiceLocator ( ) -> get ( 'MelisCoreConfig' ) ; $ payloads = $ config -> getItem ( 'diagnostic/' . $ module . '/methods/' . $ this -> getMethodName ( $ methodName ) . '/payloads' ) ; return $ payloads ; }
Returns the payload data from the diagnostic.config
@param $module
@param $methodName
@return array
Returns the payload data from the diagnostic . config