ContainerCommandLoader

Illuminate\Console\ContainerCommandLoader

class src/Illuminate/Console/ContainerCommandLoader.php

__construct

v11.0.0 以前から

__construct(Psr\Container\ContainerInterface $container, array $commandMap)
@param \Psr\Container\ContainerInterface $container
@param array<string, \Illuminate\Console\Command|string> $commandMap
  1. v11.0.0 追加
    変更後
    __construct(Psr\Container\ContainerInterface $container, array $commandMap) [@param \Psr\Container\ContainerInterface $container, @param array $commandMap, @return void]
  2. v12.4.0 シグネチャ変更
    変更前
    __construct(Psr\Container\ContainerInterface $container, array $commandMap) [@param \Psr\Container\ContainerInterface $container, @param array $commandMap, @return void]
    変更後
    __construct(Psr\Container\ContainerInterface $container, array $commandMap) [@param \Psr\Container\ContainerInterface $container, @param array $commandMap]
  3. v12.50.0 シグネチャ変更
    変更前
    __construct(Psr\Container\ContainerInterface $container, array $commandMap) [@param \Psr\Container\ContainerInterface $container, @param array $commandMap]
    変更後
    __construct(Psr\Container\ContainerInterface $container, array $commandMap) [@param \Psr\Container\ContainerInterface $container, @param array<string, \Illuminate\Console\Command|string> $commandMap]

get

v11.0.0 以前から

get(string $name): Symfony\Component\Console\Command\Command
@param string $name
@return \Symfony\Component\Console\Command\Command
  1. v11.0.0 追加
    変更後
    get(string $name): Symfony\Component\Console\Command\Command [@param string $name, @return \Symfony\Component\Console\Command\Command]

getNames

v11.0.0 以前から

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

has

v11.0.0 以前から

has(string $name): bool
@param string $name
@return bool
  1. v11.0.0 追加
    変更後
    has(string $name): bool [@param string $name, @return bool]