Skip to content

Commit

Permalink
Merge pull request #6 from dotkernel/develop
Browse files Browse the repository at this point in the history
updated factories to PSR11 container
  • Loading branch information
n3vrax authored Mar 15, 2017
2 parents 8401b0a + 1e5152a commit 6bcefbb
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 12 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
## 0.2.0 - 2017-03-15

### Changed
* Updated factories to PSR11 container

### Added
* Nothing

### Deprecated
* Nothing

### Removed
* Nothing

### Fixed
* Nothing


## 0.1.2 - 2017-03-11

Updated php file headers doc blocks
Expand Down
13 changes: 6 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@
],
"require": {
"php": "^7.1",
"container-interop/container-interop": "^1.1",

"zendframework/zend-servicemanager": "^3.0",
"zendframework/zend-servicemanager": "^3.3.0",
"zendframework/zend-paginator": "^2.7",

"dotkernel/dot-hydrator": "^1.0",
"dotkernel/dot-helpers": "^0.1",
"dotkernel/dot-event": "^0.1"
"dotkernel/dot-hydrator": "^1.1",
"dotkernel/dot-helpers": "^0.2",
"dotkernel/dot-event": "^0.2"
},
"require-dev": {
"phpunit/phpunit": "^4.8",
Expand All @@ -41,7 +39,8 @@
},
"extra": {
"branch-alias": {
"dev-master": "0.2-dev"
"dev-master": "0.2-dev",
"dev-develop": "0.3-dev"
}
}
}
2 changes: 1 addition & 1 deletion src/Factory/DbMapperFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace Dot\Mapper\Factory;

use Dot\Mapper\Mapper\MapperManager;
use Interop\Container\ContainerInterface;
use Psr\Container\ContainerInterface;
use Zend\Hydrator\HydratorPluginManager;

/**
Expand Down
5 changes: 2 additions & 3 deletions src/Factory/MapperManagerAwareInitializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@

use Dot\Mapper\Mapper\MapperManager;
use Dot\Mapper\Mapper\MapperManagerAwareInterface;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Initializer\InitializerInterface;
use Psr\Container\ContainerInterface;

/**
* Class MapperManagerAwareInitializer
* @package Dot\Mapper\Factory
*/
class MapperManagerAwareInitializer implements InitializerInterface
class MapperManagerAwareInitializer
{
public function __invoke(ContainerInterface $container, $instance)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Factory/MapperManagerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace Dot\Mapper\Factory;

use Dot\Mapper\Mapper\MapperManager;
use Interop\Container\ContainerInterface;
use Psr\Container\ContainerInterface;

/**
* Class MapperManagerFactory
Expand Down

0 comments on commit 6bcefbb

Please sign in to comment.