PHP Method Schema::getFacadeRoot, someline-starter Code Examples

This page contains top rated real world PHP examples of method Schema::getFacadeRoot from package someline-starter extracted from open source projects. You can rate examples to help us improve the quality of examples
Frequently Used Methods
Example #1
Show file File: DeviseResetCommand.php Project: devisephp/cms
0
 /**
  * Schema
  */
 protected function Schema()
 {
     if (!$this->Schema) {
         $this->Schema = \Schema::getFacadeRoot();
     }
     return $this->Schema;
 }
Example #2
Show file File: Framework.php Project: devisephp/cms
0
 /**
  * Returns a valid property
  *
  * @param $name
  * @return mixed
  */
 private function resolveProperty($name)
 {
     $name = strtolower($name);
     switch ($name) {
         case 'artisan':
             // 'Illuminate\Contracts\Console\Kernel'
             return \Artisan::getFacadeRoot();
             break;
         case 'auth':
             // Illuminate\Auth\Guard
             return \Auth::getFacadeRoot();
             break;
         case 'cache':
             // Illuminate\Cache\CacheManager
             return \Cache::getFacadeRoot();
             break;
         case 'config':
             // Illuminate\Config\Repository
             return \Config::getFacadeRoot();
             break;
         case 'cookie':
             // Illuminate\Cookie\CookieJar
             return \Cookie::getFacadeRoot();
             break;
         case 'container':
             // Illuminate\Container\Container
             return \App::getFacadeRoot();
             break;
         case 'db':
             // Illuminate\Database\DatabaseManager
             return \DB::getFacadeRoot();
             break;
         case 'file':
             // Illuminate\Filesystem\Filesystem
             return \File::getFacadeRoot();
             break;
         case 'event':
             // Illuminate\Config\Repository
             return \Event::getFacadeRoot();
             break;
         case 'exception':
             // DeviseException
             return DeviseException::getFacadeRoot();
             break;
         case 'hash':
             // Illuminate\Hashing\BcryptHasher
             return \Hash::getFacadeRoot();
             break;
         case 'input':
             // Illuminate\Http\Request
             return \Input::getFacadeRoot();
             break;
         case 'lang':
             // Illuminate\Translation\Translator
             return \Lang::getFacadeRoot();
             break;
         case 'mail':
             // Illuminate\Mail\Mailer
             return \Mail::getFacadeRoot();
             break;
         case 'paginator':
             return new DevisePaginator();
             break;
         case 'password':
             // Illuminate\Auth\Reminders\PasswordBroker
             return \Password::getFacadeRoot();
             break;
         case 'redirect':
             // Illuminate\Routing\Redirector
             return \Redirect::getFacadeRoot();
             break;
         case 'response':
             // DeviseResponse
             return DeviseResponse::getFacadeRoot();
             break;
         case 'request':
             // Illuminate\Http\Request
             return \Request::getFacadeRoot();
             break;
         case 'route':
             // Illuminate\Routing\Router
             return \Route::getFacadeRoot();
             break;
         case 'schema':
             return \Schema::getFacadeRoot();
             break;
         case 'session':
             // Illuminate\Session\SessionManager
             return \Session::getFacadeRoot();
             break;
         case 'url':
             // Illuminate\Routing\UrlGenerator
             return \URL::getFacadeRoot();
             break;
         case 'validator':
             // Illuminate\Validation\Factory
             return \Validator::getFacadeRoot();
             break;
         case 'view':
             // Illuminate\View\Factory
             return \View::getFacadeRoot();
             break;
     }
     return null;
 }