0 follower

Final Class Yiisoft\Yii\Gii\Generator\CommandHydrator

InheritanceYiisoft\Yii\Gii\Generator\CommandHydrator

Method Details

Hide inherited methods

__construct() public method

public __construct( ): mixed

                public function __construct()
{
}

            
hydrate() public method

public hydrate( string $commandClass, array $parameters ): Yiisoft\Yii\Gii\GeneratorCommandInterface
$commandClass string
$parameters array

                public function hydrate(string $commandClass, array $parameters): GeneratorCommandInterface
{
    return new $commandClass(...$parameters);
}