continued refactoring.

This commit is contained in:
Taylor Otwell
2011-08-31 21:57:37 -05:00
parent 61eced25a1
commit 30514d9020
7 changed files with 13 additions and 65 deletions

View File

@@ -155,34 +155,6 @@ class Response {
$this->status = $status;
}
/**
* Create a new response instance.
*
* @param mixed $content
* @param int $status
* @return Response
*/
public static function make($content, $status = 200)
{
return IoC::container()->resolve('laravel.response')->make($content, $status);
}
/**
* Create a new error response instance.
*
* The response status code will be set using the specified code.
*
* Note: The specified error code should correspond to a view in your views/error directory.
*
* @param int $code
* @param array $data
* @return Response
*/
public static function error($code, $data = array())
{
return IoC::container()->resolve('laravel.response')->error($code, $data);
}
/**
* Get the evaluated string contents of the response.
*