Kernel

Illuminate\Foundation\Console\Kernel

class src/Illuminate/Foundation/Console/Kernel.php

__construct

v11.0.0 以前から

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

addCommandPaths

v11.0.0 以前から

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

addCommandRoutePaths

v11.0.0 以前から

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

addCommands

v11.0.0 以前から

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

all

v11.0.0 以前から

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

bootstrap

v11.0.0 以前から

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

bootstrapWithoutBootingProviders

v11.0.0 以前から

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

call

v11.0.0 以前から

call($command, array $parameters = [], $outputBuffer = null)
@param \Symfony\Component\Console\Command\Command|string $command
@param array $parameters
@param \Symfony\Component\Console\Output\OutputInterface|null $outputBuffer
@return int
  1. v11.0.0 追加
    変更後
    call($command, array $parameters = [], $outputBuffer = null) [@param string $command, @param array $parameters, @param \Symfony\Component\Console\Output\OutputInterface|null $outputBuffer, @return int]
  2. v12.22.0 シグネチャ変更
    変更前
    call($command, array $parameters = [], $outputBuffer = null) [@param string $command, @param array $parameters, @param \Symfony\Component\Console\Output\OutputInterface|null $outputBuffer, @return int]
    変更後
    call($command, array $parameters = [], $outputBuffer = null) [@param \Symfony\Component\Console\Command\Command|string $command, @param array $parameters, @param \Symfony\Component\Console\Output\OutputInterface|null $outputBuffer, @return int]

command

v11.0.0 以前から

command($signature, Closure $callback)
@param string $signature
@param \Closure $callback
@return \Illuminate\Foundation\Console\ClosureCommand
  1. v11.0.0 追加
    変更後
    command($signature, Closure $callback) [@param string $signature, @param \Closure $callback, @return \Illuminate\Foundation\Console\ClosureCommand]

commandStartedAt

v11.0.0 以前から

commandStartedAt()
@return \Illuminate\Support\Carbon|null
  1. v11.0.0 追加
    変更後
    commandStartedAt() [@return \Illuminate\Support\Carbon|null]

findCommand

v13.30.0 から

findCommand($name)
@param string $name
@return \Symfony\Component\Console\Command\Command|null
  1. v13.30.0 追加
    変更後
    findCommand($name) [@param string $name, @return \Symfony\Component\Console\Command\Command|null]

handle

v11.0.0 以前から

handle($input, $output = null)
@param \Symfony\Component\Console\Input\InputInterface $input
@param \Symfony\Component\Console\Output\OutputInterface|null $output
@return int
  1. v11.0.0 追加
    変更後
    handle($input, $output = null) [@param \Symfony\Component\Console\Input\InputInterface $input, @param \Symfony\Component\Console\Output\OutputInterface|null $output, @return int]

output

v11.0.0 以前から

output()
@return string
  1. v11.0.0 追加
    変更後
    output() [@return string]

queue

v11.0.0 以前から

queue($command, array $parameters = [])
@param string $command
@param array $parameters
@return \Illuminate\Foundation\Bus\PendingDispatch
  1. v11.0.0 追加
    変更後
    queue($command, array $parameters = []) [@param string $command, @param array $parameters, @return \Illuminate\Foundation\Bus\PendingDispatch]

registerCommand

v11.0.0 以前から

registerCommand($command)
@param \Symfony\Component\Console\Command\Command $command
@return void
  1. v11.0.0 追加
    変更後
    registerCommand($command) [@param \Symfony\Component\Console\Command\Command $command, @return void]

resolveConsoleSchedule

v11.0.0 以前から

resolveConsoleSchedule()
@return \Illuminate\Console\Scheduling\Schedule
  1. v11.0.0 追加
    変更後
    resolveConsoleSchedule() [@return \Illuminate\Console\Scheduling\Schedule]

setArtisan

v11.0.0 以前から

setArtisan($artisan)
@param \Illuminate\Console\Application|null $artisan
@return void
  1. v11.0.0 追加
    変更後
    setArtisan($artisan) [@param \Illuminate\Console\Application|null $artisan, @return void]

terminate

v11.0.0 以前から

terminate($input, $status)
@param \Symfony\Component\Console\Input\InputInterface $input
@param int $status
@return void
  1. v11.0.0 追加
    変更後
    terminate($input, $status) [@param \Symfony\Component\Console\Input\InputInterface $input, @param int $status, @return void]

whenCommandLifecycleIsLongerThan

v11.0.0 以前から

whenCommandLifecycleIsLongerThan($threshold, $handler)
@param \DateTimeInterface|\Carbon\CarbonInterval|float|int $threshold
@param callable $handler
@return void
  1. v11.0.0 追加
    変更後
    whenCommandLifecycleIsLongerThan($threshold, $handler) [@param \DateTimeInterface|\Carbon\CarbonInterval|float|int $threshold, @param callable $handler, @return void]
@internal のメソッド(1)

rerouteSymfonyCommandEvents

v11.0.0 以前から

@internal

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