From c3df429034163f66353eddd4c15058b6d1be7656 Mon Sep 17 00:00:00 2001 From: clphillips Date: Fri, 1 Apr 2016 15:21:48 -0700 Subject: [PATCH] Removed ContainerAwareInterface::getContainer(). --- composer.json | 10 +++++----- src/ContainerAwareInterface.php | 7 ------- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/composer.json b/composer.json index a6de546..83ab3f2 100644 --- a/composer.json +++ b/composer.json @@ -12,13 +12,13 @@ ], "require": { "php": ">=5.3.0", - "container-interop/container-interop": "~1.0", - "pimple/pimple": "~3.0" + "container-interop/container-interop": "^1.0", + "pimple/pimple": "^3.0" }, "require-dev": { - "phpunit/phpunit": "~4.0", - "squizlabs/php_codesniffer": "~2.2", - "satooshi/php-coveralls": "dev-master" + "phpunit/phpunit": "^4.0", + "squizlabs/php_codesniffer": "^2.2", + "satooshi/php-coveralls": "^1.0" }, "autoload": { "psr-4": {"Minphp\\Container\\": "src"} diff --git a/src/ContainerAwareInterface.php b/src/ContainerAwareInterface.php index 105d4e2..14fd51e 100644 --- a/src/ContainerAwareInterface.php +++ b/src/ContainerAwareInterface.php @@ -13,11 +13,4 @@ interface ContainerAwareInterface * @param Minphp\Container\ContainerInterface $container */ public function setContainer(ContainerInterface $container = null); - - /** - * Fetches a container - * - * @return Minphp\Container\ContainerInterface - */ - public function getContainer(); }