| 1 | <?php  | 
            ||
| 27 | class Order { | 
            ||
| 28 | const ASC = 'ascending';  | 
            ||
| 29 | const DESC = 'descending';  | 
            ||
| 30 | |||
| 31 | /**  | 
            ||
| 32 | * @var SearchPropertyDefinition  | 
            ||
| 33 | *  | 
            ||
| 34 | * The property that should be sorted on.  | 
            ||
| 35 | */  | 
            ||
| 36 | public $property;  | 
            ||
| 37 | /**  | 
            ||
| 38 | * @var string 'ascending' or 'descending'  | 
            ||
| 39 | *  | 
            ||
| 40 | * The sort direction  | 
            ||
| 41 | */  | 
            ||
| 42 | public $order;  | 
            ||
| 43 | |||
| 44 | /**  | 
            ||
| 45 | * Order constructor.  | 
            ||
| 46 | * @param SearchPropertyDefinition $property  | 
            ||
| 47 | * @param string $order  | 
            ||
| 48 | */  | 
            ||
| 49 | 	public function __construct(SearchPropertyDefinition $property, $order) { | 
            ||
| 53 | }  | 
            ||
| 54 |