1 | <?php |
||
16 | class AgentHelper |
||
17 | { |
||
18 | /** |
||
19 | * Creates and returns agent name by class name and parameters. |
||
20 | * Use to return this name from the executed method of agent. |
||
21 | * |
||
22 | * @param string $className Agent class name. |
||
23 | * @param array $args Arguments for `__constructor` of agent class. |
||
24 | * @param array $callChain |
||
25 | * |
||
26 | * @return string |
||
27 | * @throws ArgumentTypeException |
||
28 | */ |
||
29 | public static function createName($className, array $args = [], array $callChain = []) |
||
45 | |||
46 | protected static function convertArgsToString(array $args) |
||
55 | } |