ApplicationBuilder

Illuminate\Foundation\Configuration\ApplicationBuilder

class src/Illuminate/Foundation/Configuration/ApplicationBuilder.php

__construct

v11.0.0 以前から

__construct(Illuminate\Foundation\Application $app)
  1. v11.0.0 追加
    変更後
    __construct(Illuminate\Foundation\Application $app)

booted

v11.0.0 以前から

booted(callable $callback)
@param callable $callback
@return $this
  1. v11.0.0 追加
    変更後
    booted(callable $callback) [@param callable $callback, @return $this]

booting

v11.0.0 以前から

booting(callable $callback)
@param callable $callback
@return $this
  1. v11.0.0 追加
    変更後
    booting(callable $callback) [@param callable $callback, @return $this]

create

v11.0.0 以前から

create()
@return \Illuminate\Foundation\Application
  1. v11.0.0 追加
    変更後
    create() [@return \Illuminate\Foundation\Application]

prefersJsonResponses

v13.6.0 から

prefersJsonResponses(bool $prefer = true)
@param bool $prefer
@return $this
  1. v13.6.0 追加
    変更後
    prefersJsonResponses(bool $prefer = true) [@param bool $prefer, @return $this]

registered

v11.0.0 以前から

registered(callable $callback)
@param callable $callback
@return $this
  1. v11.0.0 追加
    変更後
    registered(callable $callback) [@param callable $callback, @return $this]

withBindings

v11.0.0 以前から

withBindings(array $bindings)
@param array $bindings
@return $this
  1. v11.0.0 追加
    変更後
    withBindings(array $bindings) [@param array $bindings, @return $this]

withBroadcasting

v11.0.0 以前から

withBroadcasting(string $channels, array $attributes = [])
@param string $channels
@param array $attributes
@return $this
  1. v11.0.0 追加
    変更後
    withBroadcasting(string $channels) [@param string $channels, @return $this]
  2. v11.0.7 シグネチャ変更
    変更前
    withBroadcasting(string $channels) [@param string $channels, @return $this]
    変更後
    withBroadcasting(string $channels, array $attributes = []) [@param string $channels, @param array $attributes, @return $this]

withCommands

v11.0.0 以前から

withCommands(array $commands = [])
@param array $commands
@return $this
  1. v11.0.0 追加
    変更後
    withCommands(array $commands = []) [@param array $commands, @return $this]

withEvents

v11.0.0 以前から

withEvents(iterable|bool $discover = true)
@param iterable<int, string>|bool $discover
@return $this
  1. v11.0.0 追加
    変更後
    withEvents(array $discover = []) [@param array $discover, @return $this]
  2. v11.2.0 シグネチャ変更
    変更前
    withEvents(array $discover = []) [@param array $discover, @return $this]
    変更後
    withEvents(array|bool $discover = []) [@param array|bool $discover, @return $this]
  3. v12.14.0 シグネチャ変更
    変更前
    withEvents(array|bool $discover = []) [@param array|bool $discover, @return $this]
    変更後
    withEvents(iterable|bool $discover = true) [@param iterable<int, string>|bool $discover, @return $this]

withExceptions

v11.0.0 以前から

withExceptions(?callable $using = null)
@param (callable(\Illuminate\Foundation\Configuration\Exceptions): mixed)|null $using
@return $this
  1. v11.0.0 追加
    変更後
    withExceptions(?callable $using = null) [@param callable|null $using, @return $this]
  2. v12.39.0 シグネチャ変更
    変更前
    withExceptions(?callable $using = null) [@param callable|null $using, @return $this]
    変更後
    withExceptions(?callable $using = null) [@return $this]
  3. v13.21.0 シグネチャ変更
    変更前
    withExceptions(?callable $using = null) [@return $this]
    変更後
    withExceptions(?callable $using = null) [@param (callable(\Illuminate\Foundation\Configuration\Exceptions): mixed)|null $using, @return $this]

withKernels

v11.0.0 以前から

withKernels()
@return $this
  1. v11.0.0 追加
    変更後
    withKernels() [@return $this]

withMiddleware

v11.0.0 以前から

withMiddleware(?callable $callback = null)
@param callable|null $callback
@return $this
  1. v11.0.0 追加
    変更後
    withMiddleware(?callable $callback = null) [@param callable|null $callback, @return $this]

withProviders

v11.0.0 以前から

withProviders(array $providers = [], bool $withBootstrapProviders = true)
@param array $providers
@param bool $withBootstrapProviders
@return $this
  1. v11.0.0 追加
    変更後
    withProviders(array $providers = [], bool $withBootstrapProviders = true) [@param array $providers, @param bool $withBootstrapProviders, @return $this]

withRouting

v11.0.0 以前から

withRouting(?Closure $using = null, array|string|null $web = null, array|string|null $api = null, ?string $commands = null, ?string $channels = null, ?string $pages = null, ?string $health = null, string $apiPrefix = 'api', ?callable $then = null)
@param \Closure|null $using
@param array|string|null $web
@param array|string|null $api
@param string|null $commands
@param string|null $channels
@param string|null $pages
@param string|null $health
@param string $apiPrefix
@param callable|null $then
@return $this
  1. v11.0.0 追加
    変更後
    withRouting(?Closure $using = null, ?string $web = null, ?string $api = null, ?string $commands = null, ?string $channels = null, ?string $pages = null, ?string $health = null, string $apiPrefix = 'api', ?callable $then = null) [@param \Closure|null $using, @param string|null $web, @param string|null $api, @param string|null $commands, @param string|null $channels, @param string|null $pages, @param string|null $apiPrefix, @param callable|null $then, @return $this]
  2. v11.0.7 シグネチャ変更
    変更前
    withRouting(?Closure $using = null, ?string $web = null, ?string $api = null, ?string $commands = null, ?string $channels = null, ?string $pages = null, ?string $health = null, string $apiPrefix = 'api', ?callable $then = null) [@param \Closure|null $using, @param string|null $web, @param string|null $api, @param string|null $commands, @param string|null $channels, @param string|null $pages, @param string|null $apiPrefix, @param callable|null $then, @return $this]
    変更後
    withRouting(?Closure $using = null, ?string $web = null, ?string $api = null, ?string $commands = null, ?string $channels = null, ?string $pages = null, ?string $health = null, string $apiPrefix = 'api', ?callable $then = null) [@param \Closure|null $using, @param string|null $web, @param string|null $api, @param string|null $commands, @param string|null $channels, @param string|null $pages, @param string $apiPrefix, @param callable|null $then, @return $this]
  3. v11.8.0 シグネチャ変更
    変更前
    withRouting(?Closure $using = null, ?string $web = null, ?string $api = null, ?string $commands = null, ?string $channels = null, ?string $pages = null, ?string $health = null, string $apiPrefix = 'api', ?callable $then = null) [@param \Closure|null $using, @param string|null $web, @param string|null $api, @param string|null $commands, @param string|null $channels, @param string|null $pages, @param string $apiPrefix, @param callable|null $then, @return $this]
    変更後
    withRouting(?Closure $using = null, array|string|null $web = null, array|string|null $api = null, ?string $commands = null, ?string $channels = null, ?string $pages = null, ?string $health = null, string $apiPrefix = 'api', ?callable $then = null) [@param \Closure|null $using, @param array|string|null $web, @param array|string|null $api, @param string|null $commands, @param string|null $channels, @param string|null $pages, @param string $apiPrefix, @param callable|null $then, @return $this]
  4. v13.8.0 シグネチャ変更
    変更前
    withRouting(?Closure $using = null, array|string|null $web = null, array|string|null $api = null, ?string $commands = null, ?string $channels = null, ?string $pages = null, ?string $health = null, string $apiPrefix = 'api', ?callable $then = null) [@param \Closure|null $using, @param array|string|null $web, @param array|string|null $api, @param string|null $commands, @param string|null $channels, @param string|null $pages, @param string $apiPrefix, @param callable|null $then, @return $this]
    変更後
    withRouting(?Closure $using = null, array|string|null $web = null, array|string|null $api = null, ?string $commands = null, ?string $channels = null, ?string $pages = null, ?string $health = null, string $apiPrefix = 'api', ?callable $then = null) [@param \Closure|null $using, @param array|string|null $web, @param array|string|null $api, @param string|null $commands, @param string|null $channels, @param string|null $pages, @param string|null $health, @param string $apiPrefix, @param callable|null $then, @return $this]

withSchedule

v11.1.0 から

withSchedule(callable $callback)
@param callable(\Illuminate\Console\Scheduling\Schedule $schedule): void $callback
@return $this
  1. v11.1.0 追加
    変更後
    withSchedule(callable $callback) [@param callable(Schedule $schedule): void $callback, @return $this]
  2. v11.3.0 シグネチャ変更
    変更前
    withSchedule(callable $callback) [@param callable(Schedule $schedule): void $callback, @return $this]
    変更後
    withSchedule(callable $callback) [@param callable(\Illuminate\Console\Scheduling\Schedule $schedule): void $callback, @return $this]

withScopedSingletons

v12.22.0 から

withScopedSingletons(array $scopedSingletons)
@param array $scopedSingletons
@return $this
  1. v12.22.0 追加
    変更後
    withScopedSingletons(array $scopedSingletons) [@param array $scopedSingletons, @return $this]

withSingletons

v11.0.0 以前から

withSingletons(array $singletons)
@param array $singletons
@return $this
  1. v11.0.0 追加
    変更後
    withSingletons(array $singletons) [@param array $singletons, @return $this]