public static function request(?App
$config = null, bool
$getShared = true
) { if ($getShared) { return static::
getSharedInstance('request',
$config);
} // @TODO remove the following code for backward compatibility
return static::
incomingrequest($config,
$getShared);
} /**
* Create the current Request object, either IncomingRequest or CLIRequest.
*
* This method is called from CodeIgniter::getRequestObject().
*
* @internal
*/
public static function createRequest(App
$config, bool
$isCli = false
): void
{