weew/kernel-container-aware

Integration between weew/kernel and weew/container.

Installs: 341

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/weew/kernel-container-aware

v2.3.1 2016-07-21 11:18 UTC

This package is not auto-updated.

Last update: 2025-10-08 03:43:53 UTC


README

Build Status Code Quality Test Coverage Version Licence

Table of contents

Installation

composer require weew/kernel-container-aware

Introduction

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

Usage

To create a container aware Kernel simply pass in an instance of IContainer.

$kernel = new Weew\Kernel\ContainerAware\Kernel(new Container());

Note: Kernel will automatically share instances of providers in the container.