| Total Complexity | 1 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | trait InteractsWithResourceProperties |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @param string $propertyName |
||
| 20 | * @param mixed|string|array|null $value |
||
| 21 | * @dataProvider getPropertiesToTests |
||
| 22 | */ |
||
| 23 | public function testMutableProperties(string $propertyName, $value): void |
||
| 33 | } |
||
| 34 | |||
| 35 | abstract public function getPropertiesToTests(): array; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return string|class-string |
||
| 39 | */ |
||
| 40 | abstract protected function getResourceClassName(): string; |
||
| 41 | } |
||
| 42 |