andreypostal/cli

View on GitHub
src/Types/Command.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
namespace Andrey\Cli\Types;

class Command
{
    public function __construct(
        public string $key,
        public string $description,
        /** @var array{instance:string|callable, entrypoint:string} */
        public array $service,
        /** @var Param[] */
        public array $params = [],
    ) { }
}