| Total Complexity | 4 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Coverage | 60% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class ClassAnnotationValidationContext implements ValidationContext, BinaryFunction |
||
| 16 | { |
||
| 17 | /** @var ContainerInterface */ |
||
| 18 | public $provider; |
||
| 19 | /** @var \ReflectionClass */ |
||
| 20 | public $cls; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param ContainerInterface $provider |
||
| 24 | * @param \ReflectionClass $cls |
||
| 25 | */ |
||
| 26 | 38 | public function __construct(ContainerInterface $provider, \ReflectionClass $cls) |
|
| 27 | { |
||
| 28 | 38 | $this->provider = $provider; |
|
| 29 | 38 | $this->cls = $cls; |
|
| 30 | 38 | } |
|
| 31 | |||
| 32 | /** |
||
| 33 | * @return ContainerInterface |
||
| 34 | */ |
||
| 35 | public function getProvider() |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | public function getAnnotationLocation() |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @param SlumberMarker $marker |
||
| 50 | * @param int $idx |
||
| 51 | * |
||
| 52 | * @return void |
||
| 53 | */ |
||
| 54 | 4 | public function __invoke($marker, $idx) |
|
| 57 | 4 | } |
|
| 58 | } |
||
| 59 |