| 1 | <?php |
||
| 15 | class PropertyAnnotationValidationContext implements ValidationContext, BinaryFunction |
||
| 16 | { |
||
| 17 | /** @var ContainerInterface */ |
||
| 18 | public $provider; |
||
| 19 | /** @var \ReflectionClass */ |
||
| 20 | public $cls; |
||
| 21 | /** @var \ReflectionProperty */ |
||
| 22 | public $property; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param ContainerInterface $provider |
||
| 26 | * @param \ReflectionClass $cls |
||
| 27 | * @param \ReflectionProperty $property |
||
| 28 | */ |
||
| 29 | 22 | public function __construct(ContainerInterface $provider, \ReflectionClass $cls, \ReflectionProperty $property) |
|
| 35 | |||
| 36 | /** |
||
| 37 | * @return ContainerInterface |
||
| 38 | */ |
||
| 39 | public function getProvider() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | public function getAnnotationLocation() |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @param SlumberMarker $marker |
||
| 54 | * @param int $idx |
||
| 55 | * |
||
| 56 | * @return void |
||
| 57 | */ |
||
| 58 | 22 | public function __invoke($marker, $idx) |
|
| 62 | } |
||
| 63 |