| Total Complexity | 4 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class Reference { |
||
| 8 | |||
| 9 | const STATED_IN = 'P248'; |
||
| 10 | |||
| 11 | /** @var array */ |
||
| 12 | protected $data; |
||
| 13 | |||
| 14 | /** @var string */ |
||
| 15 | protected $lang; |
||
| 16 | |||
| 17 | /** @var CacheItemPoolInterface */ |
||
| 18 | protected $cache; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param string[] $data The data. |
||
| 22 | * @param string $lang ISO639 language code. |
||
| 23 | * @param CacheItemPoolInterface $cache The cache. |
||
| 24 | */ |
||
| 25 | public function __construct( $data, $lang, $cache ) { |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return Item|bool The item, or false if there isn't one. |
||
| 33 | */ |
||
| 34 | public function statedIn() { |
||
| 43 |