| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | final class BinaryFingerprint |
||
| 19 | { |
||
| 20 | public function __construct( |
||
| 23 | } |
||
| 24 | |||
| 25 | public static function fromProcessModuleMemoryMap( |
||
| 26 | ProcessModuleMemoryMap $process_module_memory_map |
||
| 27 | ): self { |
||
| 28 | return new self( |
||
| 29 | join( |
||
| 30 | '_', |
||
| 31 | [ |
||
| 32 | $process_module_memory_map->getDeviceId(), |
||
| 33 | $process_module_memory_map->getInodeNumber(), |
||
| 34 | $process_module_memory_map->getModuleName(), |
||
| 35 | ] |
||
| 36 | ) |
||
| 37 | ); |
||
| 38 | } |
||
| 39 | |||
| 40 | public function __toString(): string |
||
| 43 | } |
||
| 44 | } |
||
| 45 |