| 1 | <?php |
||
| 5 | class Order |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | protected $column; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | protected $direction; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param string|null $column |
||
| 19 | * @param string|null $direction |
||
| 20 | */ |
||
| 21 | public function __construct($column = null, $direction = null) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return string |
||
| 29 | */ |
||
| 30 | public function getColumn() |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param string $column |
||
| 37 | */ |
||
| 38 | public function setColumn($column) |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return string |
||
| 45 | */ |
||
| 46 | public function getDirection() |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @param string $direction |
||
| 53 | */ |
||
| 54 | public function setDirection($direction) |
||
| 58 | } |
||
| 59 |