From adba44c3c0fece0ba27ec816f006d7c8c1419794 Mon Sep 17 00:00:00 2001 From: Patrick Date: Thu, 6 Nov 2014 22:34:31 +0100 Subject: [PATCH] removed faulty code --- 8-dependency-injector.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/8-dependency-injector.md b/8-dependency-injector.md index 7ad36f6..d48ee35 100644 --- a/8-dependency-injector.md +++ b/8-dependency-injector.md @@ -13,13 +13,6 @@ Install the Auryn package and then create a new file called `Dependencies.php` i $injector = new \Auryn\Provider; -$injector->share('Http\CookieBuilder'); -$injector->delegate('Http\CookieBuilder', function($environment){ - $cookieBuilder = new \Http\CookieBuilder; - $cookieBuilder->setDefaultSecure($environment === 'production'); - return $cookieBuilder; -}); - $injector->alias('Http\Response', 'Http\HttpResponse'); $injector->share('Http\HttpRequest'); $injector->define('Http\HttpRequest', [