| 1 | <?php |
||
| 9 | class SelectNode extends AbstractNode |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var array |
||
| 13 | */ |
||
| 14 | protected $fields; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param array $fields |
||
| 18 | */ |
||
| 19 | public function __construct(array $fields = []) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @inheritdoc |
||
| 26 | */ |
||
| 27 | public function getNodeName() |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param string $field |
||
| 34 | * @param int|null $direction |
||
| 35 | * @return void |
||
| 36 | */ |
||
| 37 | public function addField($field, $direction = null) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return array |
||
| 44 | */ |
||
| 45 | public function getFields() |
||
| 49 | } |
||
| 50 |