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

@@ -93,18 +93,6 @@ class View_Factory {
$this->composer = $composer;
}
/**
* Create a new view instance.
*
* @param string $view
* @param array $data
* @return View
*/
public function make($view, $data = array())
{
return new View($view, $data, $this->path($view), $this->composer, $this);
}
/**
* Create a new view instance from a view name.
*
@@ -212,18 +200,6 @@ class View {
}
}
/**
* Create a new view instance.
*
* @param string $view
* @param array $data
* @return View
*/
public static function make($view, $data = array())
{
return IoC::container()->resolve('laravel.view')->make($view, $data);
}
/**
* Get the evaluated string content of the view.
*