Got rid of all IoC::container() calls

This commit is contained in:
Phill Sparks
2011-11-11 09:52:30 +00:00
parent 9dbe7a29e2
commit b4fe148de5
10 changed files with 34 additions and 34 deletions

View File

@@ -61,7 +61,7 @@ class Redirect extends Response {
throw new \Exception('A session driver must be set before setting flash data.');
}
IoC::container()->core('session')->flash($key, $value);
IoC::core('session')->flash($key, $value);
return $this;
}
@@ -94,4 +94,4 @@ class Redirect extends Response {
throw new \Exception("Method [$method] is not defined on the Redirect class.");
}
}
}