Bouncy Melons 0.1
declarative style orm
OrderByClause.php
Go to the documentation of this file.
1 <?php
2 
3 namespace bm;
4 
5 abstract class OrderByClause implements IOrderByClause {
6 
10  protected $fieldName;
11 
12  public function __construct($fieldName) {
13  $this->fieldName = $fieldName;
14  }
15 
16  public function getFieldName() {
17  return $this->fieldName;
18  }
19 
20  abstract public function get();
21 
22  public function __toString() {
23  return $this->get();
24  }
25 }
__construct($fieldName)