2016-04-18 08:30:40 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace manager\module;
|
|
|
|
use \manager\ManagerError;
|
|
|
|
|
|
|
|
class module{
|
|
|
|
|
|
|
|
public static function method(){
|
|
|
|
|
|
|
|
return array(
|
2016-04-18 09:30:38 +00:00
|
|
|
'ModuleError' => ManagerError::Success,
|
|
|
|
'ReceivedArguments' => func_get_args()
|
2016-04-18 08:30:40 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-04-18 09:30:38 +00:00
|
|
|
public static function phpunitParams($params){
|
|
|
|
extract($params);
|
|
|
|
|
|
|
|
return array(
|
|
|
|
'ModuleError' => ManagerError::Success,
|
|
|
|
'p1' => $p1,
|
|
|
|
'p2' => $p2
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-04-18 08:30:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
?>
|