| Total Complexity | 5 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class NonSymbolMatcher implements DateLexerInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Token. |
||
| 16 | * |
||
| 17 | * @var FormatToken |
||
| 18 | */ |
||
| 19 | protected $token; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Class constructor. |
||
| 23 | * |
||
| 24 | * @param FormatToken $token |
||
| 25 | */ |
||
| 26 | public function __construct(FormatToken $token) |
||
| 27 | { |
||
| 28 | $this->token = $token; |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @inheritDoc |
||
| 33 | */ |
||
| 34 | public function tokenizeDate($string, $offset = 0) |
||
| 48 | } |
||
| 49 | } |
||
| 51 |