public static function autoloader(bool $getShared = true)
	{
		if ($getShared)
		{
			if (empty(static::$instances['autoloader']))
			{
				static::$instances['autoloader'] = new Autoloader();
			}

			return static::$instances['autoloader'];
		}

		return new Autoloader();
	}
public static function autoloader(bool $getShared = true)
	{
		if ($getShared)
		{
			if (empty(static::$instances['autoloader']))
			{
				static::$instances['autoloader'] = new Autoloader();
			}

			return static::$instances['autoloader'];
		}

		return new Autoloader();
	}
public static function autoloader ( bool $ getShared = true ) { if ( $ getShared ) { if ( empty ( static :: $ instances [ 'autoloader' ] ) ) { static :: $ instances [ 'autoloader' ] = new Autoloader ( ) ; } return static :: $ instances [ 'autoloader' ] ; } return new Autoloader ( ) ; }
The Autoloader class is the central class that handles our
spl_autoload_register method, and helper methods.

@param boolean $getShared

@return \CodeIgniter\Autoloader\Autoloader
The Autoloader class is the central class that handles our spl_autoload_register method and helper methods .