Conditions | 2 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
33 | public function getHash(): string |
||
34 | { |
||
35 | $normalizedArguments = array_map(function ($argument) { |
||
36 | return is_object($argument) ? spl_object_hash($argument) : $argument; |
||
37 | }, $this->getArguments()); |
||
38 | |||
39 | return md5($this->getFunctionName() . serialize($normalizedArguments)); |
||
40 | } |
||
41 | } |
||
42 |