| 1 | <?php |
||
| 4 | class Param { |
||
| 5 | private $_value; |
||
| 6 | private $_size; |
||
| 7 | private $_bound = false; |
||
| 8 | private $_pad = STR_PAD_RIGHT; |
||
| 9 | |||
| 10 | public function setValue($value) { |
||
| 14 | |||
| 15 | public function align($type) { |
||
| 23 | |||
| 24 | public function value() { |
||
| 28 | |||
| 29 | public function bound() { |
||
| 32 | |||
| 33 | public function __construct($size) { |
||
| 36 | } |
||
| 37 |
According to the PSR-2, the body of a case statement must start on the line immediately following the case statement.
}
To learn more about the PSR-2 coding standard, please refer to the PHP-Fig.