| Total Complexity | 2 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | abstract class AbstractPropertyBasedSorter extends AbstractSorter |
||
| 9 | { |
||
| 10 | use ResolvesPropertyValueTrait; |
||
| 11 | |||
| 12 | protected string $property; |
||
| 13 | |||
| 14 | 90 | public function __construct(PropertyResolverInterface $resolver) |
|
| 15 | { |
||
| 16 | 90 | $this->propertyResolver = $resolver; |
|
| 17 | } |
||
| 18 | |||
| 19 | 18 | public function setProperty(string $property): AbstractPropertyBasedSorter |
|
| 24 | } |
||
| 25 | } |
||
| 26 |