| Total Complexity | 7 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Coverage | 78.95% |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 16 | final class DataProvider |
||
| 17 | { |
||
| 18 | use \Nette\SmartObject; |
||
| 19 | |||
| 20 | public const ANNOTATION_NAME = "dataProvider"; |
||
| 21 | |||
| 22 | private Reader $annotationsReader; |
||
| 23 | |||
| 24 | 1 | public function __construct(Reader $annotationsReader) |
|
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @throws InvalidDataProviderException |
||
| 31 | */ |
||
| 32 | 1 | public function getData(object $class, string $method): array |
|
| 58 |