| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | trait ParserAware |
||
| 12 | { |
||
| 13 | protected static $parser; |
||
| 14 | |||
| 15 | /// @todo feature-creep: allow passing in $options (but then, how to deal with changing options between invocations?) |
||
| 16 | public function getParser() |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param $parser |
||
| 26 | * @return void |
||
| 27 | */ |
||
| 28 | public static function setParser($parser) |
||
| 33 |