| Total Complexity | 5 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class ReflectionPropertySetter implements SetterInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var ReflectionProperty |
||
| 13 | */ |
||
| 14 | private $property; |
||
| 15 | |||
| 16 | public function __construct(ReflectionProperty $method) |
||
| 19 | } |
||
| 20 | |||
| 21 | public function setValue($object, $newValue) |
||
| 22 | { |
||
| 23 | $this->property->setValue($object, $newValue); |
||
| 24 | } |
||
| 25 | |||
| 26 | public function getName(): string |
||
| 27 | { |
||
| 28 | return $this->property->getName(); |
||
| 29 | } |
||
| 30 | |||
| 31 | public function getPriority(): int |
||
| 34 | } |
||
| 35 | |||
| 36 | public function toType(): ?Type |
||
| 39 | } |
||
| 40 | } |
||
| 41 |