| 1 | <?php |
||
| 10 | class SortNodeParser implements NodeParserInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var SubParserInterface |
||
| 14 | */ |
||
| 15 | protected $fieldNameParser; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param SubParserInterface $fieldNameParser |
||
| 19 | */ |
||
| 20 | 64 | public function __construct(SubParserInterface $fieldNameParser) |
|
| 24 | |||
| 25 | /** |
||
| 26 | * @inheritdoc |
||
| 27 | */ |
||
| 28 | 1 | public function parse(TokenStream $tokenStream) |
|
| 50 | |||
| 51 | /** |
||
| 52 | * @inheritdoc |
||
| 53 | */ |
||
| 54 | 6 | public function supports(TokenStream $tokenStream) |
|
| 58 | } |
||
| 59 |