| 1 | <?php |
||
| 5 | class TimberRequest extends TimberCore implements TimberCoreInterface { |
||
| 6 | public $post = array(); |
||
| 7 | public $get = array(); |
||
| 8 | |||
| 9 | /** |
||
| 10 | * Constructs a TimberRequest object |
||
| 11 | * @example |
||
| 12 | */ |
||
| 13 | function __construct() { |
||
| 16 | /** |
||
| 17 | * @internal |
||
| 18 | */ |
||
| 19 | protected function init() { |
||
| 23 | |||
| 24 | public function __call( $field, $args ) {} |
||
| 25 | |||
| 26 | public function __get( $field ) {} |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return boolean |
||
| 30 | */ |
||
| 31 | public function __isset( $field ) {} |
||
| 32 | |||
| 33 | public function meta( $key ) {} |
||
| 34 | } |
||
| 35 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.