| 1 | <?php |
||
| 8 | class OrderByCriteria implements OrderByCriteriaInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var null|string |
||
| 12 | */ |
||
| 13 | private $orderBy; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param null|string $orderBy |
||
| 17 | */ |
||
| 18 | 10 | public function __construct($orderBy = null) |
|
| 22 | |||
| 23 | /** |
||
| 24 | * @return null|string |
||
| 25 | */ |
||
| 26 | 3 | public function getOrderBy() |
|
| 30 | |||
| 31 | /** |
||
| 32 | * @param null|string $orderBy |
||
| 33 | */ |
||
| 34 | 6 | public function setOrderBy($orderBy) |
|
| 38 | |||
| 39 | /** |
||
| 40 | * {@inheritdoc} |
||
| 41 | */ |
||
| 42 | 4 | public function shouldBeApplied() |
|
| 46 | } |
||
| 47 |