| 1 | <?php |
||
| 15 | class ParseResult |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var array |
||
| 19 | */ |
||
| 20 | protected $params; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var int |
||
| 24 | */ |
||
| 25 | protected $matchLength; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param array $params |
||
| 29 | * @param int $matchLength |
||
| 30 | */ |
||
| 31 | public function __construct(array $params, $matchLength) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return array |
||
| 39 | */ |
||
| 40 | public function getParams() |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return int |
||
| 47 | */ |
||
| 48 | public function getMatchLength() |
||
| 52 | } |
||
| 53 |