| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 34 | public function isDefault(string $method_name): bool |
||
| 35 | { |
||
| 36 | $class = new ReflectionClass($this->filesystem); |
||
| 37 | $method = $class->getMethod($method_name); |
||
| 38 | $trait = new ReflectionClass(FilesystemDefaultImplementationTrait::class); |
||
| 39 | return $method->getFileName() === $trait->getFileName(); |
||
| 40 | } |
||
| 42 |