Flight::path($path) -> ($dir) to match Engine::path($dir)

pull/548/head
fadrian06 3 weeks ago
parent 5f84570d27
commit 7292464d1c

@ -20,7 +20,7 @@ require_once __DIR__ . '/autoload.php';
* *
* # Core methods * # Core methods
* @method static void start() Starts the framework. * @method static void start() Starts the framework.
* @method static void path(string $path) Adds a path for autoloading classes. * @method static void path(string $dir) Adds a path for autoloading classes.
* @method static void stop(?int $code = null) Stops the framework and sends a response. * @method static void stop(?int $code = null) Stops the framework and sends a response.
* @method static void halt(int $code = 200, string $message = '', bool $actuallyExit = true) * @method static void halt(int $code = 200, string $message = '', bool $actuallyExit = true)
* Stop the framework with an optional status code and message. * Stop the framework with an optional status code and message.
@ -104,6 +104,7 @@ class Flight
*/ */
private function __construct() private function __construct()
{ {
//
} }
/** /**
@ -114,6 +115,7 @@ class Flight
*/ */
private function __clone() private function __clone()
{ {
//
} }
/** /**

Loading…
Cancel
Save