Skip to content

Commit

Permalink
Per definition container aware and upodated changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
philipobenito committed Feb 9, 2015
1 parent 30b29c8 commit c1994f4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All Notable changes to `League\Container` will be documented in this file

## Unreleased
## 1.3.0 - 2015-02-09

### Added
- Added `ServiceProvider` functionality to allow cleaner resolving of complex dependencies.
Expand Down
5 changes: 1 addition & 4 deletions src/Definition/AbstractDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@
namespace League\Container\Definition;

use League\Container\ArgumentResolverTrait;
use League\Container\ContainerAwareInterface;
use League\Container\ContainerAwareTrait;
use League\Container\ContainerInterface;

abstract class AbstractDefinition implements ContainerAwareInterface
abstract class AbstractDefinition
{
use ArgumentResolverTrait;
use ContainerAwareTrait;

/**
* @var string
Expand Down
6 changes: 5 additions & 1 deletion src/Definition/CallableDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@

namespace League\Container\Definition;

use League\Container\ContainerAwareInterface;
use League\Container\ContainerAwareTrait;
use League\Container\ContainerInterface;

class CallableDefinition extends AbstractDefinition implements DefinitionInterface
class CallableDefinition extends AbstractDefinition implements DefinitionInterface, ContainerAwareInterface
{
use ContainerAwareTrait;

/**
* @var callable
*/
Expand Down
6 changes: 5 additions & 1 deletion src/Definition/ClassDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@

namespace League\Container\Definition;

use League\Container\ContainerAwareInterface;
use League\Container\ContainerAwareTrait;
use League\Container\ContainerInterface;

class ClassDefinition extends AbstractDefinition implements ClassDefinitionInterface
class ClassDefinition extends AbstractDefinition implements ClassDefinitionInterface, ContainerAwareInterface
{
use ContainerAwareTrait;

/**
* @var string
*/
Expand Down

0 comments on commit c1994f4

Please sign in to comment.