|
|
|
@ -8,12 +8,11 @@ use Closure;
|
|
|
|
use Exception;
|
|
|
|
use Exception;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* The Loader class is responsible for loading objects. It maintains
|
|
|
|
* The Loader class is responsible for loading objects. It maintains a list of
|
|
|
|
* a list of reusable class instances and can generate a new class
|
|
|
|
* reusable class instances and can generate a new class instances with custom
|
|
|
|
* instances with custom initialization parameters. It also performs
|
|
|
|
* initialization parameters. It also performs class autoloading.
|
|
|
|
* class autoloading.
|
|
|
|
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @license MIT, http://flightphp.com/license
|
|
|
|
* @license MIT, https://docs.flightphp.com/license/
|
|
|
|
* @copyright Copyright (c) 2011, Mike Cao <mike@mikecao.com>
|
|
|
|
* @copyright Copyright (c) 2011, Mike Cao <mike@mikecao.com>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
class Loader
|
|
|
|
class Loader
|
|
|
|
|