| Total Complexity | 3 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class SupportedReaders |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var ReaderInterface[] |
||
| 9 | */ |
||
| 10 | private static $readers; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var array |
||
| 14 | */ |
||
| 15 | private static $supportedReaders = [ |
||
| 16 | AmpReader::class, |
||
| 17 | AtReader::class, |
||
| 18 | BangReader::class, |
||
| 19 | BlockStringReader::class, |
||
| 20 | BraceReader::class, |
||
| 21 | BracketReader::class, |
||
| 22 | ColonReader::class, |
||
| 23 | CommentReader::class, |
||
| 24 | DollarReader::class, |
||
| 25 | EqualsReader::class, |
||
| 26 | NameReader::class, |
||
| 27 | NumberReader::class, |
||
| 28 | ParenthesisReader::class, |
||
| 29 | PipeReader::class, |
||
| 30 | SpreadReader::class, |
||
| 31 | StringReader::class, |
||
| 32 | ]; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return array |
||
| 36 | */ |
||
| 37 | public static function get(): array |
||
| 48 |