|
|
@ -113,16 +113,11 @@ class Flight
|
|
|
|
static::__callStatic('register', func_get_args());
|
|
|
|
static::__callStatic('register', func_get_args());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/** Unregisters a class. */
|
|
|
|
* Unregisters a class.
|
|
|
|
public static function unregister(string $methodName): void
|
|
|
|
*
|
|
|
|
{
|
|
|
|
* @param string $name Method name
|
|
|
|
static::__callStatic('unregister', func_get_args());
|
|
|
|
* @return void
|
|
|
|
}
|
|
|
|
*/
|
|
|
|
|
|
|
|
public static function unregister($name): void
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
static::__callStatic('unregister', func_get_args());
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Handles calls to static methods.
|
|
|
|
* Handles calls to static methods.
|
|
|
|