ServiceProvider

Illuminate\Support\ServiceProvider

class src/Illuminate/Support/ServiceProvider.php

__construct

v11.0.0 以前から

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

addProviderToBootstrapFile

v11.0.0 以前から

static

static addProviderToBootstrapFile(string $provider, ?string $path = null)
@param string $provider
@param string|null $path
@return bool
  1. v11.0.0 追加
    変更後
    static addProviderToBootstrapFile(string $provider, string $path = null) [@param string $provider, @param string $path, @return bool]
  2. v11.3.0 シグネチャ変更
    変更前
    static addProviderToBootstrapFile(string $provider, string $path = null) [@param string $provider, @param string $path, @return bool]
    変更後
    static addProviderToBootstrapFile(string $provider, ?string $path = null) [@param string $provider, @param string $path, @return bool]
  3. v12.29.0 シグネチャ変更
    変更前
    static addProviderToBootstrapFile(string $provider, ?string $path = null) [@param string $provider, @param string $path, @return bool]
    変更後
    static addProviderToBootstrapFile(string $provider, ?string $path = null) [@param string $provider, @param string|null $path, @return bool]

booted

v11.0.0 以前から

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

booting

v11.0.0 以前から

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

callBootedCallbacks

v11.0.0 以前から

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

callBootingCallbacks

v11.0.0 以前から

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

commands

v11.0.0 以前から

commands($commands)
@param mixed $commands
@return void
  1. v11.0.0 追加
    変更後
    commands($commands) [@param array|mixed $commands, @return void]
  2. v12.26.0 シグネチャ変更
    変更前
    commands($commands) [@param array|mixed $commands, @return void]
    変更後
    commands($commands) [@param mixed $commands, @return void]

defaultProviders

v11.0.0 以前から

static

static defaultProviders()
@return \Illuminate\Support\DefaultProviders
  1. v11.0.0 追加
    変更後
    static defaultProviders() [@return \Illuminate\Support\DefaultProviders]

isDeferred

v11.0.0 以前から

isDeferred()
@return bool
  1. v11.0.0 追加
    変更後
    isDeferred() [@return bool]

pathsToPublish

v11.0.0 以前から

static

static pathsToPublish($provider = null, $group = null)
@param string|null $provider
@param string|null $group
@return array
  1. v11.0.0 追加
    変更後
    static pathsToPublish($provider = null, $group = null) [@param string|null $provider, @param string|null $group, @return array]

provides

v11.0.0 以前から

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

publishableGroups

v11.0.0 以前から

static

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

publishableMigrationPaths

v11.0.0 以前から

static

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

publishableProviders

v11.0.0 以前から

static

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

register

v11.0.0 以前から

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

removeProviderFromBootstrapFile

v12.32.0 から

static

static removeProviderFromBootstrapFile(string|array $providersToRemove, ?string $path = null, bool $strict = false)
@param string|array $providersToRemove
@param string|null $path
@param bool $strict
@return bool
  1. v12.32.0 追加
    変更後
    static removeProviderFromBootstrapFile(string|array $providersToRemove, ?string $path = null, bool $strict = false) [@param string|array $providersToRemove, @param string|null $path, @param bool $strict, @return bool]

when

v11.0.0 以前から

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