Artisan

Illuminate\Support\Facades\Artisan

class src/Illuminate/Support/Facades/Artisan.php

addCommandPaths

v11.0.0 以前から

static @method

static addCommandPaths(array $paths): \Illuminate\Foundation\Console\Kernel
  1. v11.0.0 追加
    変更後
    @method static addCommandPaths(array $paths): \Illuminate\Foundation\Console\Kernel

addCommandRoutePaths

v11.0.0 以前から

static @method

static addCommandRoutePaths(array $paths): \Illuminate\Foundation\Console\Kernel
  1. v11.0.0 追加
    変更後
    @method static addCommandRoutePaths(array $paths): \Illuminate\Foundation\Console\Kernel

addCommands

v11.0.0 以前から

static @method

static addCommands(array $commands): \Illuminate\Foundation\Console\Kernel
  1. v11.0.0 追加
    変更後
    @method static addCommands(array $commands): \Illuminate\Foundation\Console\Kernel

all

v11.0.0 以前から

static @method

static all(): array
  1. v11.0.0 追加
    変更後
    @method static all(): array

bootstrap

v11.0.0 以前から

static @method

static bootstrap(): void
  1. v11.0.0 追加
    変更後
    @method static bootstrap(): void

bootstrapWithoutBootingProviders

v11.0.0 以前から

static @method

static bootstrapWithoutBootingProviders(): void
  1. v11.0.0 追加
    変更後
    @method static bootstrapWithoutBootingProviders(): void

call

v11.0.0 以前から

static @method

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

command

v11.0.0 以前から

static @method

static command(string $signature, \Closure $callback): \Illuminate\Foundation\Console\ClosureCommand
  1. v11.0.0 追加
    変更後
    @method static command(string $signature, \Closure $callback): \Illuminate\Foundation\Console\ClosureCommand

commandStartedAt

v11.0.0 以前から

static @method

static commandStartedAt(): \Illuminate\Support\Carbon|null
  1. v11.0.0 追加
    変更後
    @method static commandStartedAt(): \Illuminate\Support\Carbon|null

findCommand

v13.30.0 から

static @method

static findCommand(string $name): \Symfony\Component\Console\Command\Command|null
  1. v13.30.0 追加
    変更後
    @method static findCommand(string $name): \Symfony\Component\Console\Command\Command|null

handle

v11.0.0 以前から

static @method

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

output

v11.0.0 以前から

static @method

static output(): string
  1. v11.0.0 追加
    変更後
    @method static output(): string

queue

v11.0.0 以前から

static @method

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

registerCommand

v11.0.0 以前から

static @method

static registerCommand(\Symfony\Component\Console\Command\Command $command): void
  1. v11.0.0 追加
    変更後
    @method static registerCommand(\Symfony\Component\Console\Command\Command $command): void

resolveConsoleSchedule

v11.0.0 以前から

static @method

static resolveConsoleSchedule(): \Illuminate\Console\Scheduling\Schedule
  1. v11.0.0 追加
    変更後
    @method static resolveConsoleSchedule(): \Illuminate\Console\Scheduling\Schedule

setArtisan

v11.0.0 以前から

static @method

static setArtisan(\Illuminate\Console\Application|null $artisan): void
  1. v11.0.0 追加
    変更後
    @method static setArtisan(\Illuminate\Console\Application|null $artisan): void

terminate

v11.0.0 以前から

static @method

static terminate(\Symfony\Component\Console\Input\InputInterface $input, int $status): void
  1. v11.0.0 追加
    変更後
    @method static terminate(\Symfony\Component\Console\Input\InputInterface $input, int $status): void

whenCommandLifecycleIsLongerThan

v11.0.0 以前から

static @method

static whenCommandLifecycleIsLongerThan(\DateTimeInterface|\Carbon\CarbonInterval|float|int $threshold, callable $handler): void
  1. v11.0.0 追加
    変更後
    @method static whenCommandLifecycleIsLongerThan(\DateTimeInterface|\Carbon\CarbonInterval|float|int $threshold, callable $handler): void