Kraken\Root\Console\Server\Provider\CommandProvider::create PHP Method

create() protected method

protected create ( string $class, mixed[] $params = [] ) : Kraken\Runtime\Command\CommandInterface
$class string
$params mixed[]
return Kraken\Runtime\Command\CommandInterface
    protected function create($class, $params = [])
    {
        return (new ReflectionClass($class))->newInstanceArgs($params);
    }