35 public static function root() {
39 $dir = self::fromPath(realpath(__DIR__ .
'/../../../../..'));
41 if (!$dir->isFile(
'vendor/autoload.php')) {
43 $dir = self::fromPath(realpath($dir->getPath() .
'/../../..'));
Namespace for generating local filesystems.
static fromPath($path)
Shorthand for generating a new local filesystem.
static root()
Returns a directory that points to the root composer install.
static createLocal($path)
Shorthand for generating a new local filesystem.
http free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to use