| 1 | <?php |
||
| 16 | class Utils |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * Converts relative path to absolute |
||
| 20 | * @param string $path relative path |
||
| 21 | * @return string Absolute path |
||
| 22 | * @throws Exception |
||
| 23 | * @internal |
||
| 24 | */ |
||
| 25 | static function absolutizePath($path) |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return bool |
||
| 40 | * @internal |
||
| 41 | */ |
||
| 42 | static function isPlatformWith32bitInteger() { |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return bool |
||
| 48 | * @internal |
||
| 49 | */ |
||
| 50 | static function isPlatformWith64bitInteger() { |
||
| 53 | |||
| 54 | } |
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.