Commit cd395c26 authored by Taylor Otwell's avatar Taylor Otwell

tweaking facades.

parent d608e214
...@@ -3,7 +3,11 @@ ...@@ -3,7 +3,11 @@
use Laravel\Facade; use Laravel\Facade;
use Laravel\Container; use Laravel\Container;
class Manager_Facade extends Facade { public static $resolve = 'cache'; } class Manager_Facade extends Facade {
public static $resolve = 'cache';
}
class Manager { class Manager {
......
<?php namespace Laravel; <?php namespace Laravel;
class Config_Facade extends Facade { public static $resolve = 'config'; } class Config_Facade extends Facade {
public static $resolve = 'config';
}
class Config { class Config {
......
...@@ -14,7 +14,14 @@ abstract class Controller extends Resolver { ...@@ -14,7 +14,14 @@ abstract class Controller extends Resolver {
/** /**
* Magic Method to handle calls to undefined functions on the controller. * 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');
}
} }
\ No newline at end of file
<?php namespace Laravel; <?php namespace Laravel;
class Cookie_Facade extends Facade { public static $resolve = 'cookie'; } class Cookie_Facade extends Facade {
public static $resolve = 'cookie';
}
class Cookie { class Cookie {
......
...@@ -2,7 +2,11 @@ ...@@ -2,7 +2,11 @@
use Laravel\Facade; use Laravel\Facade;
class Manager_Facade extends Facade { public static $resolve = 'database'; } class Manager_Facade extends Facade {
public static $resolve = 'database';
}
class Manager { class Manager {
......
<?php namespace Laravel; <?php namespace Laravel;
class Download_Facade extends Facade { public static $resolve = 'download'; } class Download_Facade extends Facade {
public static $resolve = 'download';
}
class Download extends Response { class Download extends Response {
......
<?php namespace Laravel; <?php namespace Laravel;
class File_Facade extends Facade { public static $resolve = 'file'; } class File_Facade extends Facade {
public static $resolve = 'file';
}
class File { class File {
......
<?php namespace Laravel; <?php namespace Laravel;
class Form_Facade extends Facade { public static $resolve = 'form'; } class Form_Facade extends Facade {
public static $resolve = 'form';
}
class Form { class Form {
......
<?php namespace Laravel; <?php namespace Laravel;
class HTML_Facade extends Facade { public static $resolve = 'html'; } class HTML_Facade extends Facade {
public static $resolve = 'html';
}
class HTML { class HTML {
......
<?php namespace Laravel; <?php namespace Laravel;
class Input_Facade extends Facade { public static $resolve = 'input'; } class Input_Facade extends Facade {
public static $resolve = 'input';
}
class Input { class Input {
......
<?php namespace Laravel; <?php namespace Laravel;
class Lang_Facade extends Facade { public static $resolve = 'lang'; } class Lang_Facade extends Facade {
public static $resolve = 'lang';
}
class Lang_Factory { class Lang_Factory {
......
<?php namespace Laravel; <?php namespace Laravel;
class Loader_Facade extends Facade { public static $resolve = 'loader'; } class Loader_Facade extends Facade {
public static $resolve = 'loader';
}
class Loader { class Loader {
......
<?php namespace Laravel; <?php namespace Laravel;
class Package_Facade extends Facade { public static $resolve = 'package'; } class Package_Facade extends Facade {
public static $resolve = 'package';
}
class Package { class Package {
......
<?php namespace Laravel; <?php namespace Laravel;
class Redirect_Facade extends Facade { public static $resolve = 'redirect'; } class Redirect_Facade extends Facade {
public static $resolve = 'redirect';
}
class Redirect extends Response { class Redirect extends Response {
......
<?php namespace Laravel; <?php namespace Laravel;
class Request_Facade extends Facade { public static $resolve = 'request'; } class Request_Facade extends Facade {
public static $resolve = 'request';
}
class Request { class Request {
......
<?php namespace Laravel; <?php namespace Laravel;
class Response_Facade extends Facade { public static $resolve = 'response'; } class Response_Facade extends Facade {
public static $resolve = 'response';
}
class Response_Factory { class Response_Factory {
......
...@@ -4,7 +4,11 @@ use Laravel\IoC; ...@@ -4,7 +4,11 @@ use Laravel\IoC;
use Laravel\Facade; use Laravel\Facade;
use Laravel\Session\Driver; use Laravel\Session\Driver;
class Authenticator_Facade extends Facade { public static $resolve = 'auth'; } class Authenticator_Facade extends Facade {
public static $resolve = 'auth';
}
class Authenticator { class Authenticator {
......
...@@ -3,7 +3,11 @@ ...@@ -3,7 +3,11 @@
use Laravel\IoC; use Laravel\IoC;
use Laravel\Facade; use Laravel\Facade;
class Crypter_Facade extends Facade { public static $resolve = 'crypter'; } class Crypter_Facade extends Facade {
public static $resolve = 'crypter';
}
class Crypter { class Crypter {
......
...@@ -2,7 +2,11 @@ ...@@ -2,7 +2,11 @@
use Laravel\Facade; use Laravel\Facade;
class Hasher_Facade extends Facade { public static $resolve = 'hasher'; } class Hasher_Facade extends Facade {
public static $resolve = 'hasher';
}
class Hasher { class Hasher {
......
...@@ -3,7 +3,11 @@ ...@@ -3,7 +3,11 @@
use Laravel\Facade; use Laravel\Facade;
use Laravel\Container; use Laravel\Container;
class Manager_Facade extends Facade { public static $resolve = 'session'; } class Manager_Facade extends Facade {
public static $resolve = 'session';
}
class Manager { class Manager {
......
<?php namespace Laravel; <?php namespace Laravel;
class URL_Facade extends Facade { public static $resolve = 'url'; } class URL_Facade extends Facade {
public static $resolve = 'url';
}
class URL { class URL {
......
...@@ -5,7 +5,11 @@ use Laravel\Str; ...@@ -5,7 +5,11 @@ use Laravel\Str;
use Laravel\Facade; use Laravel\Facade;
use Laravel\Lang_Factory; use Laravel\Lang_Factory;
class Validator_Facade extends Facade { public static $resolve = 'validator'; } class Validator_Facade extends Facade {
public static $resolve = 'validator';
}
class Validator { class Validator {
......
<?php namespace Laravel; <?php namespace Laravel;
class View_Facade extends Facade { public static $resolve = 'view'; } class View_Facade extends Facade {
public static $resolve = 'view';
}
/** /**
* The view composer class is responsible for calling the composer on a view and * The view composer class is responsible for calling the composer on a view and
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment