|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* A helper file for Laravel, to provide autocomplete information to your IDE
|
|
|
|
|
* Generated for Laravel 9.46.0.
|
|
|
|
|
* Generated for Laravel 9.52.8.
|
|
|
|
|
*
|
|
|
|
|
* This file should not be included in your code, only analyzed by your IDE!
|
|
|
|
|
*
|
|
|
|
@ -1577,7 +1577,7 @@
|
|
|
|
|
$instance->terminate($input, $status);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Register a callback to be invoked when the command lifecyle duration exceeds a given amount of time.
|
|
|
|
|
* Register a callback to be invoked when the command lifecycle duration exceeds a given amount of time.
|
|
|
|
|
*
|
|
|
|
|
* @param \DateTimeInterface|\Carbon\CarbonInterval|float|int $threshold
|
|
|
|
|
* @param callable $handler
|
|
|
|
@ -2529,7 +2529,7 @@
|
|
|
|
|
* Check the result of a condition.
|
|
|
|
|
*
|
|
|
|
|
* @param string $name
|
|
|
|
|
* @param array $parameters
|
|
|
|
|
* @param mixed $parameters
|
|
|
|
|
* @return bool
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
@ -3294,7 +3294,7 @@
|
|
|
|
|
/**
|
|
|
|
|
* Assert if a job was pushed a number of times.
|
|
|
|
|
*
|
|
|
|
|
* @param string $command
|
|
|
|
|
* @param string|\Closure $command
|
|
|
|
|
* @param int $times
|
|
|
|
|
* @return void
|
|
|
|
|
* @static
|
|
|
|
@ -3344,7 +3344,7 @@
|
|
|
|
|
/**
|
|
|
|
|
* Assert if a job was pushed synchronously a number of times.
|
|
|
|
|
*
|
|
|
|
|
* @param string $command
|
|
|
|
|
* @param string|\Closure $command
|
|
|
|
|
* @param int $times
|
|
|
|
|
* @return void
|
|
|
|
|
* @static
|
|
|
|
@ -3383,7 +3383,7 @@
|
|
|
|
|
/**
|
|
|
|
|
* Assert if a job was pushed after the response was sent a number of times.
|
|
|
|
|
*
|
|
|
|
|
* @param string $command
|
|
|
|
|
* @param string|\Closure $command
|
|
|
|
|
* @param int $times
|
|
|
|
|
* @return void
|
|
|
|
|
* @static
|
|
|
|
@ -4181,6 +4181,33 @@
|
|
|
|
|
{
|
|
|
|
|
/** @var \Illuminate\Cache\Repository $instance */
|
|
|
|
|
return $instance->macroCall($method, $parameters);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Get a lock instance.
|
|
|
|
|
*
|
|
|
|
|
* @param string $name
|
|
|
|
|
* @param int $seconds
|
|
|
|
|
* @param string|null $owner
|
|
|
|
|
* @return \Illuminate\Contracts\Cache\Lock
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function lock($name, $seconds = 0, $owner = null)
|
|
|
|
|
{
|
|
|
|
|
/** @var \Illuminate\Cache\FileStore $instance */
|
|
|
|
|
return $instance->lock($name, $seconds, $owner);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Restore a lock instance using the owner identifier.
|
|
|
|
|
*
|
|
|
|
|
* @param string $name
|
|
|
|
|
* @param string $owner
|
|
|
|
|
* @return \Illuminate\Contracts\Cache\Lock
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function restoreLock($name, $owner)
|
|
|
|
|
{
|
|
|
|
|
/** @var \Illuminate\Cache\FileStore $instance */
|
|
|
|
|
return $instance->restoreLock($name, $owner);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Remove all items from the cache.
|
|
|
|
@ -4225,33 +4252,6 @@
|
|
|
|
|
{
|
|
|
|
|
/** @var \Illuminate\Cache\FileStore $instance */
|
|
|
|
|
return $instance->getPrefix();
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Get a lock instance.
|
|
|
|
|
*
|
|
|
|
|
* @param string $name
|
|
|
|
|
* @param int $seconds
|
|
|
|
|
* @param string|null $owner
|
|
|
|
|
* @return \Illuminate\Contracts\Cache\Lock
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function lock($name, $seconds = 0, $owner = null)
|
|
|
|
|
{
|
|
|
|
|
/** @var \Illuminate\Cache\FileStore $instance */
|
|
|
|
|
return $instance->lock($name, $seconds, $owner);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Restore a lock instance using the owner identifier.
|
|
|
|
|
*
|
|
|
|
|
* @param string $name
|
|
|
|
|
* @param string $owner
|
|
|
|
|
* @return \Illuminate\Contracts\Cache\Lock
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function restoreLock($name, $owner)
|
|
|
|
|
{
|
|
|
|
|
/** @var \Illuminate\Cache\FileStore $instance */
|
|
|
|
|
return $instance->restoreLock($name, $owner);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
@ -4534,7 +4534,7 @@
|
|
|
|
|
/**
|
|
|
|
|
* Queue a cookie to send with the next response.
|
|
|
|
|
*
|
|
|
|
|
* @param array $parameters
|
|
|
|
|
* @param mixed $parameters
|
|
|
|
|
* @return void
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
@ -4574,8 +4574,8 @@
|
|
|
|
|
* Set the default path and domain for the jar.
|
|
|
|
|
*
|
|
|
|
|
* @param string $path
|
|
|
|
|
* @param string $domain
|
|
|
|
|
* @param bool $secure
|
|
|
|
|
* @param string|null $domain
|
|
|
|
|
* @param bool|null $secure
|
|
|
|
|
* @param string|null $sameSite
|
|
|
|
|
* @return \Illuminate\Cookie\CookieJar
|
|
|
|
|
* @static
|
|
|
|
@ -4766,18 +4766,18 @@
|
|
|
|
|
* @method static \Illuminate\Support\Carbon createFromTimestampUTC($timestamp)
|
|
|
|
|
* @method static \Illuminate\Support\Carbon createMidnightDate($year = null, $month = null, $day = null, $tz = null)
|
|
|
|
|
* @method static \Illuminate\Support\Carbon|false createSafe($year = null, $month = null, $day = null, $hour = null, $minute = null, $second = null, $tz = null)
|
|
|
|
|
* @method static \Illuminate\Support\Carbon disableHumanDiffOption($humanDiffOption)
|
|
|
|
|
* @method static \Illuminate\Support\Carbon enableHumanDiffOption($humanDiffOption)
|
|
|
|
|
* @method static void disableHumanDiffOption($humanDiffOption)
|
|
|
|
|
* @method static void enableHumanDiffOption($humanDiffOption)
|
|
|
|
|
* @method static mixed executeWithLocale($locale, $func)
|
|
|
|
|
* @method static \Illuminate\Support\Carbon fromSerialized($value)
|
|
|
|
|
* @method static array getAvailableLocales()
|
|
|
|
|
* @method static array getDays()
|
|
|
|
|
* @method static int getHumanDiffOptions()
|
|
|
|
|
* @method static array getIsoUnits()
|
|
|
|
|
* @method static \Illuminate\Support\Carbon getLastErrors()
|
|
|
|
|
* @method static array getLastErrors()
|
|
|
|
|
* @method static string getLocale()
|
|
|
|
|
* @method static int getMidDayAt()
|
|
|
|
|
* @method static \Illuminate\Support\Carbon getTestNow()
|
|
|
|
|
* @method static \Illuminate\Support\Carbon|null getTestNow()
|
|
|
|
|
* @method static \Symfony\Component\Translation\TranslatorInterface getTranslator()
|
|
|
|
|
* @method static int getWeekEndsAt()
|
|
|
|
|
* @method static int getWeekStartsAt()
|
|
|
|
@ -4789,7 +4789,7 @@
|
|
|
|
|
* @method static \Illuminate\Support\Carbon instance($date)
|
|
|
|
|
* @method static bool isImmutable()
|
|
|
|
|
* @method static bool isModifiableUnit($unit)
|
|
|
|
|
* @method static \Illuminate\Support\Carbon isMutable()
|
|
|
|
|
* @method static bool isMutable()
|
|
|
|
|
* @method static bool isStrictModeEnabled()
|
|
|
|
|
* @method static bool localeHasDiffOneDayWords($locale)
|
|
|
|
|
* @method static bool localeHasDiffSyntax($locale)
|
|
|
|
@ -4808,13 +4808,13 @@
|
|
|
|
|
* @method static void resetToStringFormat()
|
|
|
|
|
* @method static void resetYearsOverflow()
|
|
|
|
|
* @method static void serializeUsing($callback)
|
|
|
|
|
* @method static \Illuminate\Support\Carbon setHumanDiffOptions($humanDiffOptions)
|
|
|
|
|
* @method static void setHumanDiffOptions($humanDiffOptions)
|
|
|
|
|
* @method static bool setLocale($locale)
|
|
|
|
|
* @method static void setMidDayAt($hour)
|
|
|
|
|
* @method static void setTestNow($testNow = null)
|
|
|
|
|
* @method static void setToStringFormat($format)
|
|
|
|
|
* @method static void setTranslator(\Symfony\Component\Translation\TranslatorInterface $translator)
|
|
|
|
|
* @method static \Illuminate\Support\Carbon setUtf8($utf8)
|
|
|
|
|
* @method static void setUtf8($utf8)
|
|
|
|
|
* @method static void setWeekEndsAt($day)
|
|
|
|
|
* @method static void setWeekStartsAt($day)
|
|
|
|
|
* @method static void setWeekendDays($days)
|
|
|
|
@ -4824,7 +4824,7 @@
|
|
|
|
|
* @method static \Illuminate\Support\Carbon today($tz = null)
|
|
|
|
|
* @method static \Illuminate\Support\Carbon tomorrow($tz = null)
|
|
|
|
|
* @method static void useMonthsOverflow($monthsOverflow = true)
|
|
|
|
|
* @method static \Illuminate\Support\Carbon useStrictMode($strictModeEnabled = true)
|
|
|
|
|
* @method static void useStrictMode($strictModeEnabled = true)
|
|
|
|
|
* @method static void useYearsOverflow($yearsOverflow = true)
|
|
|
|
|
* @method static \Illuminate\Support\Carbon yesterday($tz = null)
|
|
|
|
|
* @see \Illuminate\Support\DateFactory
|
|
|
|
@ -4890,7 +4890,6 @@
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* @method static array<string, \Illuminate\Database\Connection> getConnections()
|
|
|
|
|
* @see \Illuminate\Database\DatabaseManager
|
|
|
|
|
*/
|
|
|
|
|
class DB {
|
|
|
|
@ -6567,13 +6566,14 @@
|
|
|
|
|
*
|
|
|
|
|
* @param string $path
|
|
|
|
|
* @param string $content
|
|
|
|
|
* @param int|null $mode
|
|
|
|
|
* @return void
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function replace($path, $content)
|
|
|
|
|
public static function replace($path, $content, $mode = null)
|
|
|
|
|
{
|
|
|
|
|
/** @var \Illuminate\Filesystem\Filesystem $instance */
|
|
|
|
|
$instance->replace($path, $content);
|
|
|
|
|
$instance->replace($path, $content, $mode);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Replace a given string within a given file.
|
|
|
|
@ -7028,7 +7028,7 @@
|
|
|
|
|
*
|
|
|
|
|
* @template TWhenParameter
|
|
|
|
|
* @template TWhenReturnType
|
|
|
|
|
* @param \Illuminate\Filesystem\(\Closure($this): TWhenParameter)|TWhenParameter|null $value
|
|
|
|
|
* @param \Illuminate\Filesystem\(\Closure($this): TWhenParameter)|TWhenParameter|null $value
|
|
|
|
|
* @param \Illuminate\Filesystem\(callable($this, TWhenParameter): TWhenReturnType)|null $callback
|
|
|
|
|
* @param \Illuminate\Filesystem\(callable($this, TWhenParameter): TWhenReturnType)|null $default
|
|
|
|
|
* @return $this|\Illuminate\Filesystem\TWhenReturnType
|
|
|
|
@ -7409,8 +7409,8 @@
|
|
|
|
|
* Deny with a HTTP status code.
|
|
|
|
|
*
|
|
|
|
|
* @param int $status
|
|
|
|
|
* @param \Illuminate\Auth\Access\?string $message
|
|
|
|
|
* @param \Illuminate\Auth\Access\?int $code
|
|
|
|
|
* @param string|null $message
|
|
|
|
|
* @param int|null $code
|
|
|
|
|
* @return \Illuminate\Auth\Access\Response
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
@ -7422,8 +7422,8 @@
|
|
|
|
|
/**
|
|
|
|
|
* Deny with a 404 HTTP status code.
|
|
|
|
|
*
|
|
|
|
|
* @param \Illuminate\Auth\Access\?string $message
|
|
|
|
|
* @param \Illuminate\Auth\Access\?int $code
|
|
|
|
|
* @param string|null $message
|
|
|
|
|
* @param int|null $code
|
|
|
|
|
* @return \Illuminate\Auth\Access\Response
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
@ -7628,6 +7628,7 @@
|
|
|
|
|
* @method static \Illuminate\Http\Client\PendingRequest withDigestAuth(string $username, string $password)
|
|
|
|
|
* @method static \Illuminate\Http\Client\PendingRequest withToken(string $token, string $type = 'Bearer')
|
|
|
|
|
* @method static \Illuminate\Http\Client\PendingRequest withUserAgent(string $userAgent)
|
|
|
|
|
* @method static \Illuminate\Http\Client\PendingRequest withUrlParameters(array $parameters = [])
|
|
|
|
|
* @method static \Illuminate\Http\Client\PendingRequest withCookies(array $cookies, string $domain)
|
|
|
|
|
* @method static \Illuminate\Http\Client\PendingRequest maxRedirects(int $max)
|
|
|
|
|
* @method static \Illuminate\Http\Client\PendingRequest withoutRedirecting()
|
|
|
|
@ -7667,8 +7668,8 @@
|
|
|
|
|
* @method static \Illuminate\Http\Client\PendingRequest setClient(\GuzzleHttp\Client $client)
|
|
|
|
|
* @method static \Illuminate\Http\Client\PendingRequest setHandler(callable $handler)
|
|
|
|
|
* @method static array getOptions()
|
|
|
|
|
* @method static \Illuminate\Http\Client\PendingRequest|mixed when((\Closure(\Illuminate\Http\Client\PendingRequest): mixed)|mixed $value = null, (callable(\Illuminate\Http\Client\PendingRequest, mixed): mixed)|null $callback = null, (callable(\Illuminate\Http\Client\PendingRequest, mixed): mixed)|null $default = null)
|
|
|
|
|
* @method static \Illuminate\Http\Client\PendingRequest|mixed unless((\Closure(\Illuminate\Http\Client\PendingRequest): mixed)|mixed $value = null, (callable(\Illuminate\Http\Client\PendingRequest, mixed): mixed)|null $callback = null, (callable(\Illuminate\Http\Client\PendingRequest, mixed): mixed)|null $default = null)
|
|
|
|
|
* @method static \Illuminate\Http\Client\PendingRequest|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
|
|
|
|
|
* @method static \Illuminate\Http\Client\PendingRequest|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
|
|
|
|
|
* @see \Illuminate\Http\Client\Factory
|
|
|
|
|
*/
|
|
|
|
|
class Http {
|
|
|
|
@ -8168,6 +8169,19 @@
|
|
|
|
|
{
|
|
|
|
|
/** @var \Illuminate\Translation\Translator $instance */
|
|
|
|
|
$instance->setLoaded($loaded);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Add a handler to be executed in order to format a given class to a string during translation replacements.
|
|
|
|
|
*
|
|
|
|
|
* @param callable|string $class
|
|
|
|
|
* @param callable|null $handler
|
|
|
|
|
* @return void
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function stringable($class, $handler = null)
|
|
|
|
|
{
|
|
|
|
|
/** @var \Illuminate\Translation\Translator $instance */
|
|
|
|
|
$instance->stringable($class, $handler);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Set the parsed value of a key.
|
|
|
|
@ -8377,13 +8391,13 @@
|
|
|
|
|
* Unset the given channel instance.
|
|
|
|
|
*
|
|
|
|
|
* @param string|null $driver
|
|
|
|
|
* @return \Illuminate\Log\LogManager
|
|
|
|
|
* @return void
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function forgetChannel($driver = null)
|
|
|
|
|
{
|
|
|
|
|
/** @var \Illuminate\Log\LogManager $instance */
|
|
|
|
|
return $instance->forgetChannel($driver);
|
|
|
|
|
$instance->forgetChannel($driver);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Get all of the resolved log channels.
|
|
|
|
@ -10688,12 +10702,12 @@
|
|
|
|
|
* Clones a request and overrides some of its parameters.
|
|
|
|
|
*
|
|
|
|
|
* @return static
|
|
|
|
|
* @param array $query The GET parameters
|
|
|
|
|
* @param array $request The POST parameters
|
|
|
|
|
* @param array $attributes The request attributes (parameters parsed from the PATH_INFO, ...)
|
|
|
|
|
* @param array $cookies The COOKIE parameters
|
|
|
|
|
* @param array $files The FILES parameters
|
|
|
|
|
* @param array $server The SERVER parameters
|
|
|
|
|
* @param array|null $query The GET parameters
|
|
|
|
|
* @param array|null $request The POST parameters
|
|
|
|
|
* @param array|null $attributes The request attributes (parameters parsed from the PATH_INFO, ...)
|
|
|
|
|
* @param array|null $cookies The COOKIE parameters
|
|
|
|
|
* @param array|null $files The FILES parameters
|
|
|
|
|
* @param array|null $server The SERVER parameters
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function duplicate($query = null, $request = null, $attributes = null, $cookies = null, $files = null, $server = null)
|
|
|
|
@ -10942,12 +10956,13 @@
|
|
|
|
|
* @param array $files The FILES parameters
|
|
|
|
|
* @param array $server The SERVER parameters
|
|
|
|
|
* @param string|resource|null $content The raw body data
|
|
|
|
|
* @return void
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function initialize($query = [], $request = [], $attributes = [], $cookies = [], $files = [], $server = [], $content = null)
|
|
|
|
|
{ //Method inherited from \Symfony\Component\HttpFoundation\Request
|
|
|
|
|
/** @var \Illuminate\Http\Request $instance */
|
|
|
|
|
return $instance->initialize($query, $request, $attributes, $cookies, $files, $server, $content);
|
|
|
|
|
$instance->initialize($query, $request, $attributes, $cookies, $files, $server, $content);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Creates a new request with values from PHP's super globals.
|
|
|
|
@ -10984,11 +10999,12 @@
|
|
|
|
|
* to keep BC with an existing system. It should not be used for any
|
|
|
|
|
* other purpose.
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function setFactory($callable)
|
|
|
|
|
{ //Method inherited from \Symfony\Component\HttpFoundation\Request
|
|
|
|
|
return \Illuminate\Http\Request::setFactory($callable);
|
|
|
|
|
\Illuminate\Http\Request::setFactory($callable);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Overrides the PHP global variables according to this request instance.
|
|
|
|
@ -10996,12 +11012,13 @@
|
|
|
|
|
* It overrides $_GET, $_POST, $_REQUEST, $_SERVER, $_COOKIE.
|
|
|
|
|
* $_FILES is never overridden, see rfc1867
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function overrideGlobals()
|
|
|
|
|
{ //Method inherited from \Symfony\Component\HttpFoundation\Request
|
|
|
|
|
/** @var \Illuminate\Http\Request $instance */
|
|
|
|
|
return $instance->overrideGlobals();
|
|
|
|
|
$instance->overrideGlobals();
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Sets a list of trusted proxies.
|
|
|
|
@ -11010,11 +11027,12 @@
|
|
|
|
|
*
|
|
|
|
|
* @param array $proxies A list of trusted proxies, the string 'REMOTE_ADDR' will be replaced with $_SERVER['REMOTE_ADDR']
|
|
|
|
|
* @param int $trustedHeaderSet A bit field of Request::HEADER_*, to set which headers to trust from your proxies
|
|
|
|
|
* @return void
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function setTrustedProxies($proxies, $trustedHeaderSet)
|
|
|
|
|
{ //Method inherited from \Symfony\Component\HttpFoundation\Request
|
|
|
|
|
return \Illuminate\Http\Request::setTrustedProxies($proxies, $trustedHeaderSet);
|
|
|
|
|
\Illuminate\Http\Request::setTrustedProxies($proxies, $trustedHeaderSet);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Gets the list of trusted proxies.
|
|
|
|
@ -11042,11 +11060,12 @@
|
|
|
|
|
* You should only list the hosts you manage using regexs.
|
|
|
|
|
*
|
|
|
|
|
* @param array $hostPatterns A list of trusted host patterns
|
|
|
|
|
* @return void
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function setTrustedHosts($hostPatterns)
|
|
|
|
|
{ //Method inherited from \Symfony\Component\HttpFoundation\Request
|
|
|
|
|
return \Illuminate\Http\Request::setTrustedHosts($hostPatterns);
|
|
|
|
|
\Illuminate\Http\Request::setTrustedHosts($hostPatterns);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Gets the list of trusted host patterns.
|
|
|
|
@ -11081,11 +11100,12 @@
|
|
|
|
|
*
|
|
|
|
|
* The HTTP method can only be overridden when the real HTTP method is POST.
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function enableHttpMethodParameterOverride()
|
|
|
|
|
{ //Method inherited from \Symfony\Component\HttpFoundation\Request
|
|
|
|
|
return \Illuminate\Http\Request::enableHttpMethodParameterOverride();
|
|
|
|
|
\Illuminate\Http\Request::enableHttpMethodParameterOverride();
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Checks whether support for the _method request parameter is enabled.
|
|
|
|
@ -11110,12 +11130,13 @@
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function setSession($session)
|
|
|
|
|
{ //Method inherited from \Symfony\Component\HttpFoundation\Request
|
|
|
|
|
/** @var \Illuminate\Http\Request $instance */
|
|
|
|
|
return $instance->setSession($session);
|
|
|
|
|
$instance->setSession($session);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
@ -11416,12 +11437,13 @@
|
|
|
|
|
/**
|
|
|
|
|
* Sets the request method.
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function setMethod($method)
|
|
|
|
|
{ //Method inherited from \Symfony\Component\HttpFoundation\Request
|
|
|
|
|
/** @var \Illuminate\Http\Request $instance */
|
|
|
|
|
return $instance->setMethod($method);
|
|
|
|
|
$instance->setMethod($method);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Gets the request "intended" method.
|
|
|
|
@ -11487,12 +11509,13 @@
|
|
|
|
|
* Associates a format with mime types.
|
|
|
|
|
*
|
|
|
|
|
* @param string|string[] $mimeTypes The associated mime types (the preferred one must be the first as it will be used as the content type)
|
|
|
|
|
* @return void
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function setFormat($format, $mimeTypes)
|
|
|
|
|
{ //Method inherited from \Symfony\Component\HttpFoundation\Request
|
|
|
|
|
/** @var \Illuminate\Http\Request $instance */
|
|
|
|
|
return $instance->setFormat($format, $mimeTypes);
|
|
|
|
|
$instance->setFormat($format, $mimeTypes);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Gets the request format.
|
|
|
|
@ -11514,12 +11537,13 @@
|
|
|
|
|
/**
|
|
|
|
|
* Sets the request format.
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function setRequestFormat($format)
|
|
|
|
|
{ //Method inherited from \Symfony\Component\HttpFoundation\Request
|
|
|
|
|
/** @var \Illuminate\Http\Request $instance */
|
|
|
|
|
return $instance->setRequestFormat($format);
|
|
|
|
|
$instance->setRequestFormat($format);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Gets the usual name of the format associated with the request's media type (provided in the Content-Type header).
|
|
|
|
@ -11546,12 +11570,13 @@
|
|
|
|
|
/**
|
|
|
|
|
* Sets the default locale.
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function setDefaultLocale($locale)
|
|
|
|
|
{ //Method inherited from \Symfony\Component\HttpFoundation\Request
|
|
|
|
|
/** @var \Illuminate\Http\Request $instance */
|
|
|
|
|
return $instance->setDefaultLocale($locale);
|
|
|
|
|
$instance->setDefaultLocale($locale);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Get the default locale.
|
|
|
|
@ -11566,12 +11591,13 @@
|
|
|
|
|
/**
|
|
|
|
|
* Sets the locale.
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function setLocale($locale)
|
|
|
|
|
{ //Method inherited from \Symfony\Component\HttpFoundation\Request
|
|
|
|
|
/** @var \Illuminate\Http\Request $instance */
|
|
|
|
|
return $instance->setLocale($locale);
|
|
|
|
|
$instance->setLocale($locale);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Get the locale.
|
|
|
|
@ -11654,6 +11680,16 @@
|
|
|
|
|
{ //Method inherited from \Symfony\Component\HttpFoundation\Request
|
|
|
|
|
/** @var \Illuminate\Http\Request $instance */
|
|
|
|
|
return $instance->getContent($asResource);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Gets the decoded form or json request body.
|
|
|
|
|
*
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function getPayload()
|
|
|
|
|
{ //Method inherited from \Symfony\Component\HttpFoundation\Request
|
|
|
|
|
/** @var \Illuminate\Http\Request $instance */
|
|
|
|
|
return $instance->getPayload();
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Gets the Etags.
|
|
|
|
@ -12632,7 +12668,7 @@
|
|
|
|
|
/**
|
|
|
|
|
* Create a new streamed response instance.
|
|
|
|
|
*
|
|
|
|
|
* @param \Closure $callback
|
|
|
|
|
* @param callable $callback
|
|
|
|
|
* @param int $status
|
|
|
|
|
* @param array $headers
|
|
|
|
|
* @return \Symfony\Component\HttpFoundation\StreamedResponse
|
|
|
|
@ -12646,7 +12682,7 @@
|
|
|
|
|
/**
|
|
|
|
|
* Create a new streamed response instance as a file download.
|
|
|
|
|
*
|
|
|
|
|
* @param \Closure $callback
|
|
|
|
|
* @param callable $callback
|
|
|
|
|
* @param string|null $name
|
|
|
|
|
* @param array $headers
|
|
|
|
|
* @param string|null $disposition
|
|
|
|
@ -14156,6 +14192,18 @@
|
|
|
|
|
{ //Method inherited from \Illuminate\Database\Schema\Builder
|
|
|
|
|
/** @var \Illuminate\Database\Schema\MySqlBuilder $instance */
|
|
|
|
|
return $instance->disableForeignKeyConstraints();
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Disable foreign key constraints during the execution of a callback.
|
|
|
|
|
*
|
|
|
|
|
* @param \Closure $callback
|
|
|
|
|
* @return mixed
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function withoutForeignKeyConstraints($callback)
|
|
|
|
|
{ //Method inherited from \Illuminate\Database\Schema\Builder
|
|
|
|
|
/** @var \Illuminate\Database\Schema\MySqlBuilder $instance */
|
|
|
|
|
return $instance->withoutForeignKeyConstraints($callback);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Get the database connection instance.
|
|
|
|
@ -14726,7 +14774,7 @@
|
|
|
|
|
/**
|
|
|
|
|
* Set the session ID.
|
|
|
|
|
*
|
|
|
|
|
* @param string $id
|
|
|
|
|
* @param string|null $id
|
|
|
|
|
* @return void
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
@ -14738,7 +14786,7 @@
|
|
|
|
|
/**
|
|
|
|
|
* Determine if this is a valid session ID.
|
|
|
|
|
*
|
|
|
|
|
* @param string $id
|
|
|
|
|
* @param string|null $id
|
|
|
|
|
* @return bool
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
@ -14830,13 +14878,13 @@
|
|
|
|
|
* Set the underlying session handler implementation.
|
|
|
|
|
*
|
|
|
|
|
* @param \SessionHandlerInterface $handler
|
|
|
|
|
* @return void
|
|
|
|
|
* @return \SessionHandlerInterface
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function setHandler($handler)
|
|
|
|
|
{
|
|
|
|
|
/** @var \Illuminate\Session\Store $instance */
|
|
|
|
|
$instance->setHandler($handler);
|
|
|
|
|
return $instance->setHandler($handler);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Determine if the session handler needs a request.
|
|
|
|
@ -14912,6 +14960,13 @@
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* @method static bool has(string $location)
|
|
|
|
|
* @method static string read(string $location)
|
|
|
|
|
* @method static \League\Flysystem\DirectoryListing listContents(string $location, bool $deep = false)
|
|
|
|
|
* @method static int fileSize(string $path)
|
|
|
|
|
* @method static string visibility(string $path)
|
|
|
|
|
* @method static void write(string $location, string $contents, array $config = [])
|
|
|
|
|
* @method static void createDirectory(string $location, array $config = [])
|
|
|
|
|
* @see \Illuminate\Filesystem\FilesystemManager
|
|
|
|
|
*/
|
|
|
|
|
class Storage {
|
|
|
|
@ -15515,6 +15570,21 @@
|
|
|
|
|
{
|
|
|
|
|
/** @var \Illuminate\Filesystem\FilesystemAdapter $instance */
|
|
|
|
|
return $instance->temporaryUrl($path, $expiration, $options);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Get a temporary upload URL for the file at the given path.
|
|
|
|
|
*
|
|
|
|
|
* @param string $path
|
|
|
|
|
* @param \DateTimeInterface $expiration
|
|
|
|
|
* @param array $options
|
|
|
|
|
* @return array
|
|
|
|
|
* @throws \RuntimeException
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function temporaryUploadUrl($path, $expiration, $options = [])
|
|
|
|
|
{
|
|
|
|
|
/** @var \Illuminate\Filesystem\FilesystemAdapter $instance */
|
|
|
|
|
return $instance->temporaryUploadUrl($path, $expiration, $options);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Get an array of all files in a directory.
|
|
|
|
@ -15640,7 +15710,7 @@
|
|
|
|
|
*
|
|
|
|
|
* @template TWhenParameter
|
|
|
|
|
* @template TWhenReturnType
|
|
|
|
|
* @param \Illuminate\Filesystem\(\Closure($this): TWhenParameter)|TWhenParameter|null $value
|
|
|
|
|
* @param \Illuminate\Filesystem\(\Closure($this): TWhenParameter)|TWhenParameter|null $value
|
|
|
|
|
* @param \Illuminate\Filesystem\(callable($this, TWhenParameter): TWhenReturnType)|null $callback
|
|
|
|
|
* @param \Illuminate\Filesystem\(callable($this, TWhenParameter): TWhenReturnType)|null $default
|
|
|
|
|
* @return $this|\Illuminate\Filesystem\TWhenReturnType
|
|
|
|
@ -17423,7 +17493,7 @@
|
|
|
|
|
/**
|
|
|
|
|
* Generate or set a Content Security Policy nonce to apply to all generated tags.
|
|
|
|
|
*
|
|
|
|
|
* @param \Illuminate\Foundation\?string $nonce
|
|
|
|
|
* @param string|null $nonce
|
|
|
|
|
* @return string
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
@ -17530,7 +17600,7 @@
|
|
|
|
|
/**
|
|
|
|
|
* Use the given callback to resolve attributes for preload tags.
|
|
|
|
|
*
|
|
|
|
|
* @param \Illuminate\Foundation\(callable(string, string, ?array, ?array): array|false)|array|false $attributes
|
|
|
|
|
* @param \Illuminate\Foundation\(callable(string, string, ?array, ?array): (array|false))|array|false $attributes
|
|
|
|
|
* @return \Illuminate\Foundation\Vite
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
@ -19134,7 +19204,7 @@
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* @param \Spatie\FlareClient\FlareMiddleware\FlareMiddleware|array<FlareMiddleware>|\Spatie\FlareClient\class-string<FlareMiddleware> $middleware
|
|
|
|
|
* @param \Spatie\FlareClient\FlareMiddleware\FlareMiddleware|array<FlareMiddleware>|\Spatie\FlareClient\class-string<FlareMiddleware>|callable $middleware
|
|
|
|
|
* @return \Spatie\FlareClient\Flare
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
@ -20004,7 +20074,7 @@ namespace {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Get an array with the values of a given column.
|
|
|
|
|
* Get a collection with the values of a given column.
|
|
|
|
|
*
|
|
|
|
|
* @param string|\Illuminate\Database\Query\Expression $column
|
|
|
|
|
* @param string|null $key
|
|
|
|
@ -20538,7 +20608,7 @@ namespace {
|
|
|
|
|
*
|
|
|
|
|
* @template TWhenParameter
|
|
|
|
|
* @template TWhenReturnType
|
|
|
|
|
* @param \Illuminate\Database\Eloquent\(\Closure($this): TWhenParameter)|TWhenParameter|null $value
|
|
|
|
|
* @param \Illuminate\Database\Eloquent\(\Closure($this): TWhenParameter)|TWhenParameter|null $value
|
|
|
|
|
* @param \Illuminate\Database\Eloquent\(callable($this, TWhenParameter): TWhenReturnType)|null $callback
|
|
|
|
|
* @param \Illuminate\Database\Eloquent\(callable($this, TWhenParameter): TWhenReturnType)|null $default
|
|
|
|
|
* @return $this|\Illuminate\Database\Eloquent\TWhenReturnType
|
|
|
|
@ -21207,6 +21277,45 @@ namespace {
|
|
|
|
|
return $instance->from($table, $as);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Add an index hint to suggest a query index.
|
|
|
|
|
*
|
|
|
|
|
* @param string $index
|
|
|
|
|
* @return \Illuminate\Database\Query\Builder
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function useIndex($index)
|
|
|
|
|
{
|
|
|
|
|
/** @var \Illuminate\Database\Query\Builder $instance */
|
|
|
|
|
return $instance->useIndex($index);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Add an index hint to force a query index.
|
|
|
|
|
*
|
|
|
|
|
* @param string $index
|
|
|
|
|
* @return \Illuminate\Database\Query\Builder
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function forceIndex($index)
|
|
|
|
|
{
|
|
|
|
|
/** @var \Illuminate\Database\Query\Builder $instance */
|
|
|
|
|
return $instance->forceIndex($index);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Add an index hint to ignore a query index.
|
|
|
|
|
*
|
|
|
|
|
* @param string $index
|
|
|
|
|
* @return \Illuminate\Database\Query\Builder
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function ignoreIndex($index)
|
|
|
|
|
{
|
|
|
|
|
/** @var \Illuminate\Database\Query\Builder $instance */
|
|
|
|
|
return $instance->ignoreIndex($index);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Add a join clause to the query.
|
|
|
|
|
*
|
|
|
|
@ -22987,6 +23096,36 @@ namespace {
|
|
|
|
|
return $instance->updateOrInsert($attributes, $values);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Increment the given column's values by the given amounts.
|
|
|
|
|
*
|
|
|
|
|
* @param \Illuminate\Database\Query\array<string, float|int|numeric-string> $columns
|
|
|
|
|
* @param \Illuminate\Database\Query\array<string, mixed> $extra
|
|
|
|
|
* @return int
|
|
|
|
|
* @throws \InvalidArgumentException
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function incrementEach($columns, $extra = [])
|
|
|
|
|
{
|
|
|
|
|
/** @var \Illuminate\Database\Query\Builder $instance */
|
|
|
|
|
return $instance->incrementEach($columns, $extra);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Decrement the given column's values by the given amounts.
|
|
|
|
|
*
|
|
|
|
|
* @param \Illuminate\Database\Query\array<string, float|int|numeric-string> $columns
|
|
|
|
|
* @param \Illuminate\Database\Query\array<string, mixed> $extra
|
|
|
|
|
* @return int
|
|
|
|
|
* @throws \InvalidArgumentException
|
|
|
|
|
* @static
|
|
|
|
|
*/
|
|
|
|
|
public static function decrementEach($columns, $extra = [])
|
|
|
|
|
{
|
|
|
|
|
/** @var \Illuminate\Database\Query\Builder $instance */
|
|
|
|
|
return $instance->decrementEach($columns, $extra);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Run a truncate statement on the table.
|
|
|
|
|
*
|
|
|
|
|