Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | final class Lexer implements LexerInterface |
||
14 | { |
||
15 | |||
16 | /** |
||
17 | * @var MatcherSelectorInterface |
||
18 | */ |
||
19 | private $matcherSelector; |
||
20 | |||
21 | /** |
||
22 | * @param MatcherSelectorInterface $matcherSelector |
||
23 | */ |
||
24 | 3 | public function __construct(MatcherSelectorInterface $matcherSelector) |
|
25 | { |
||
26 | 3 | $this->matcherSelector = $matcherSelector; |
|
27 | 3 | } |
|
28 | |||
29 | /** |
||
30 | * @param SymbolReaderInterface $input |
||
31 | * @return TokenReaderInterface |
||
32 | */ |
||
33 | 3 | public function createTokenReader(SymbolReaderInterface $input): TokenReaderInterface |
|
36 | } |
||
37 | } |
||
38 |