TrustHosts

Illuminate\Http\Middleware\TrustHosts

class src/Illuminate/Http/Middleware/TrustHosts.php

__construct

v11.0.0 以前から

__construct(Illuminate\Contracts\Foundation\Application $app)
@param \Illuminate\Contracts\Foundation\Application $app
  1. v11.0.0 追加
    変更後
    __construct(Illuminate\Contracts\Foundation\Application $app) [@param \Illuminate\Contracts\Foundation\Application $app, @return void]
  2. v12.4.0 シグネチャ変更
    変更前
    __construct(Illuminate\Contracts\Foundation\Application $app) [@param \Illuminate\Contracts\Foundation\Application $app, @return void]
    変更後
    __construct(Illuminate\Contracts\Foundation\Application $app) [@param \Illuminate\Contracts\Foundation\Application $app]

at

v11.0.0 以前から

static

static at(array|callable $hosts, bool $subdomains = true)
@param array<int, string>|(callable(): array<int, string>) $hosts
@param bool $subdomains
@return void
  1. v11.0.0 追加
    変更後
    static at(array $hosts, bool $subdomains = true) [@param array<int, string> $hosts, @param bool $subdomains, @return void]
  2. v11.2.0 シグネチャ変更
    変更前
    static at(array $hosts, bool $subdomains = true) [@param array<int, string> $hosts, @param bool $subdomains, @return void]
    変更後
    static at(array|callable $hosts, bool $subdomains = true) [@param array<int, string>|(callable(): array<int, string>) $hosts, @param bool $subdomains, @return void]

flushState

v11.0.0 以前から

static

static flushState()
@return void
  1. v11.0.0 追加
    変更後
    static flushState() [@return void]

handle

v11.0.0 以前から

handle(Illuminate\Http\Request $request, $next)
@param \Illuminate\Http\Request $request
@param \Closure $next
@return \Illuminate\Http\Response
  1. v11.0.0 追加
    変更後
    handle(Illuminate\Http\Request $request, $next) [@param \Illuminate\Http\Request $request, @param \Closure $next, @return \Illuminate\Http\Response]

hosts

v11.0.0 以前から

hosts()
@return array
  1. v11.0.0 追加
    変更後
    hosts() [@return array]