| 1 | <?php |
||
| 14 | class Range extends AbstractRule |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | protected $left; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | protected $right; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param string $left First character of characters. |
||
| 28 | * @param string $right Second character of characters. |
||
| 29 | * @param string $name |
||
| 30 | * @param callable $action |
||
| 31 | */ |
||
| 32 | 3 | public function __construct($left, $right, $name = "Range", callable $action = null) |
|
| 39 | |||
| 40 | /** |
||
| 41 | * {@inheritdoc} |
||
| 42 | */ |
||
| 43 | 1 | public function scan(Context $context) |
|
| 60 | } |
||
| 61 |