tweaking facades.

This commit is contained in:
Taylor Otwell
2011-09-03 23:46:52 -05:00
parent d608e214a3
commit cd395c2638
23 changed files with 118 additions and 23 deletions

View File

@@ -14,7 +14,14 @@ abstract class Controller extends Resolver {
/**
* Magic Method to handle calls to undefined functions on the controller.
*
* By default, the 404 response will be returned for an calls to undefined
* methods on the controller. However, this method may also be overridden
* and used as a pseudo-router by the controller.
*/
public function __call($method, $parameters) { return $this->response->error('404'); }
public function __call($method, $parameters)
{
return $this->response->error('404');
}
}