* @license https://github.com/stakx-io/stakx/blob/master/LICENSE.md MIT
6
*/
7
8
namespace allejo\stakx\Filesystem;
9
10
/**
11
* @method static \string absolutePath(\string ...$pathFragments) Build an absolute file or directory path separated by the OS specific directory separator.
12
* @method static \bool exists(\string $path) Check whether a given file path exists or not.
13
* @method static \string getExtension(\string $path) Get the extension of a given file.
14
* @method static \string getInternalResource(\string $file) Get the contents of a stakx resource file.
15
* @method static \string getFolderPath(\string $path) Get the parent directory of a given file.
16
* @method static \string getRelativePath(\string $path) Strip the current working directory from an absolute path.
Avoid variables with short names like $fs. Configured minimum length is 3.
Short variable names may make your code harder to understand. Variable names should
be self-descriptive. This check looks for variable names who are shorter than
a configured minimum.
Loading history...
23
24
118
public static function __callStatic($name, $arguments)
Short variable names may make your code harder to understand. Variable names should be self-descriptive. This check looks for variable names who are shorter than a configured minimum.