| 1 | <?php |
||
| 10 | abstract class Number |
||
| 11 | { |
||
| 12 | const FILL_LEFT = 0; |
||
| 13 | const FILL_RIGHT = 1; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param $value |
||
| 17 | * @param $length |
||
| 18 | * @param int $fillSide |
||
| 19 | * @return string |
||
| 20 | * @throws \InvalidArgumentException |
||
| 21 | */ |
||
| 22 | 6 | public static function zeroFill($value = '', $length = 0, $fillSide = self::FILL_LEFT) |
|
| 39 | } |
||
| 40 |