23-01-2026
This commit is contained in:
parent
a939cd51ef
commit
a8b395e20d
248 changed files with 29342 additions and 4805 deletions
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
/**
|
||||
* A helper file for Laravel, to provide autocomplete information to your IDE
|
||||
* Generated for Laravel 11.45.2.
|
||||
* Generated for Laravel 11.48.0.
|
||||
*
|
||||
* This file should not be included in your code, only analyzed by your IDE!
|
||||
*
|
||||
|
|
@ -12612,6 +12612,34 @@ namespace Illuminate\Support\Facades {
|
|||
return \Illuminate\Http\Request::getHttpMethodParameterOverride();
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the list of HTTP methods that can be overridden.
|
||||
*
|
||||
* Set to null to allow all methods to be overridden (default). Set to an
|
||||
* empty array to disallow overrides entirely. Otherwise, provide the list
|
||||
* of uppercased method names that are allowed.
|
||||
*
|
||||
* @param \Symfony\Component\HttpFoundation\uppercase-string[]|null $methods
|
||||
* @static
|
||||
*/
|
||||
public static function setAllowedHttpMethodOverride($methods)
|
||||
{
|
||||
//Method inherited from \Symfony\Component\HttpFoundation\Request
|
||||
return \Illuminate\Http\Request::setAllowedHttpMethodOverride($methods);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the list of HTTP methods that can be overridden.
|
||||
*
|
||||
* @return \Symfony\Component\HttpFoundation\uppercase-string[]|null
|
||||
* @static
|
||||
*/
|
||||
public static function getAllowedHttpMethodOverride()
|
||||
{
|
||||
//Method inherited from \Symfony\Component\HttpFoundation\Request
|
||||
return \Illuminate\Http\Request::getAllowedHttpMethodOverride();
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether the request contains a Session which was started in one of the
|
||||
* previous requests.
|
||||
|
|
@ -12709,7 +12737,7 @@ namespace Illuminate\Support\Facades {
|
|||
*
|
||||
* Suppose this request is instantiated from /mysite on localhost:
|
||||
*
|
||||
* * http://localhost/mysite returns an empty string
|
||||
* * http://localhost/mysite returns '/'
|
||||
* * http://localhost/mysite/about returns '/about'
|
||||
* * http://localhost/mysite/enco%20ded returns '/enco%20ded'
|
||||
* * http://localhost/mysite/about?var=1 returns '/about'
|
||||
|
|
@ -13043,7 +13071,18 @@ namespace Illuminate\Support\Facades {
|
|||
|
||||
/**
|
||||
* Gets the format associated with the mime type.
|
||||
*
|
||||
* Resolution order:
|
||||
* 1) Exact match on the full MIME type (e.g. "application/json").
|
||||
* 2) Match on the canonical MIME type (i.e. before the first ";" parameter).
|
||||
* 3) If the type is "application/*+suffix", use the structured syntax suffix
|
||||
* mapping (e.g. "application/foo+json" → "json"), when available.
|
||||
* 4) If $subtypeFallback is true and no match was found:
|
||||
* - return the MIME subtype (without "x-" prefix), provided it does not
|
||||
* contain a "+" (e.g. "application/x-yaml" → "yaml", "text/csv" → "csv").
|
||||
*
|
||||
* @param string|null $mimeType The mime type to check
|
||||
* @param bool $subtypeFallback Whether to fall back to the subtype if no exact match is found
|
||||
* @static
|
||||
*/
|
||||
public static function getFormat($mimeType)
|
||||
|
|
@ -13056,6 +13095,7 @@ namespace Illuminate\Support\Facades {
|
|||
/**
|
||||
* Associates a format with mime types.
|
||||
*
|
||||
* @param string $format The format to set
|
||||
* @param string|string[] $mimeTypes The associated mime types (the preferred one must be the first as it will be used as the content type)
|
||||
* @static
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue