| Total Complexity | 6 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 12 | trait ClassTools |
||
| 13 | { |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Create hash string from current class properties and itself values. |
||
| 17 | * This method is good stuff for caching dynamic instances |
||
| 18 | * @return string|null |
||
| 19 | */ |
||
| 20 | public function createStringClassSnapshotHash() |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Get method required arguments count |
||
| 34 | * @param $class |
||
| 35 | * @param string $method |
||
| 36 | * @return int |
||
| 37 | */ |
||
| 38 | public function getMethodRequiredArgCount($class, string $method): int |
||
| 52 |