Skip to content

weew/commander-container-aware

Repository files navigation

Commander container integration

Build Status Code Quality Test Coverage Version Licence

Table of contents

Installation

composer require weew/commander-container-aware

Introduction

This package integrates weew/commander with weew/container and allows command handlers to rely on dependency injection and sharing of data trough the container.

Usage

Simply create a container aware instance of ICommander and pass in an instance of IContainer.

$commander = new Weew\Commander\ContainerAware\Commander(new Container());

About

Container integration for the weew/commander package.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages