| 1 | <?php |
||
| 5 | class BlockEntity implements IEntity |
||
|
|
|||
| 6 | { |
||
| 7 | |||
| 8 | public $id; |
||
| 9 | |||
| 10 | public $name; |
||
| 11 | |||
| 12 | public $from; |
||
| 13 | |||
| 14 | public $to; |
||
| 15 | |||
| 16 | public $day; |
||
| 17 | |||
| 18 | public $description; |
||
| 19 | |||
| 20 | public $material; |
||
| 21 | |||
| 22 | public $tutor; |
||
| 23 | |||
| 24 | public $email; |
||
| 25 | |||
| 26 | public $program; |
||
| 27 | |||
| 28 | public $display_progs; |
||
| 29 | |||
| 30 | public $capacity; |
||
| 31 | |||
| 32 | public $category; |
||
| 33 | |||
| 34 | public $meeting; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return int |
||
| 38 | */ |
||
| 39 | public function getId() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return array |
||
| 46 | */ |
||
| 47 | public function toArray() |
||
| 51 | |||
| 52 | } |
||
| 53 |
This check marks property names that have not been written in camelCase.
In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection string becomes
databaseConnectionString.