fusible / cli-provider
Canned Aura\Di config for Aura\Cli
This package is auto-updated.
Last update: 2024-10-29 04:09:26 UTC
README
Canned Aura\Cli configuration for Aura\Di (3.x)
Installation
composer require fusible/cli-provider
Usage
Aura\Di (3.x)
See: Aura\Di > Container Builder and Config Classes .
use Aura\Di\ContainerBuilder; use Fusible\CliProvider\Config as CliConfig; $builder = new ContainerBuilder(); $di = $builder->newConfiguredInstance([CliConfig::class]); $context = $di->get(CliConfig::CONTEXT); $stdio = $di->get(CliConfig::STDIO);