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

@@ -72,7 +72,7 @@ class Input {
{
if (Config::$items['session']['driver'] !== '')
{
IoC::container()->core('session')->flash(Input::old_input, static::get());
IoC::core('session')->flash(Input::old_input, static::get());
}
}
@@ -109,7 +109,7 @@ class Input {
throw new \Exception('A session driver must be specified in order to access old input.');
}
$old = IoC::container()->core('session')->get(Input::old_input, array());
$old = IoC::core('session')->get(Input::old_input, array());
return Arr::get($old, $key, $default);
}
@@ -153,4 +153,4 @@ class Input {
return array_key_exists($key, $_FILES) ? File::upload($key, $path, $_FILES) : false;
}
}
}