Skip to content

fusible/aura-provider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fusible.aura-provider

Service Providers for Aura\Di

Installation

composer require fusible/aura-provider

Usage

See: Aura\Di > Container Builder and Config Classes .

use Aura\Di\ContainerBuilder;
use Fusible\AuraProvider\ProviderConfig;


// Some providers implementing ServiceProviderInterface
$providers = [
    MyServiceProvider::class,
    OtherServiceProvider::class,
    new SomeServiceProvider($someConfig)
];

$builder = new ContainerBuilder();
$di = $builder->newConfiguredInstance(
    [new ProviderConfig($providers)]
);

About

Service provider config for Aura\Di

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages