Commit 4c8d9084 authored by Jens Segers's avatar Jens Segers

Removed the old facade

parent 1278ebf0
...@@ -5,9 +5,6 @@ Laravel MongoDB ...@@ -5,9 +5,6 @@ Laravel MongoDB
An Eloquent model and Query builder with support for MongoDB, inspired by LMongo, but using the original Laravel methods. *This library extends the original Laravel classes, so it uses exactly the same methods.* An Eloquent model and Query builder with support for MongoDB, inspired by LMongo, but using the original Laravel methods. *This library extends the original Laravel classes, so it uses exactly the same methods.*
**ATTENTION WHEN UPGRADING!**
The way the internal connection resolving works has been changed to extend original Laravel objects instead of registering new objects. Check the configuration section for more information about the new configuration. Remove the old `MDB` facade as it is now deprecated.
Installation Installation
------------ ------------
......
<?php namespace Jenssegers\Mongodb\Facades;
/*
|--------------------------------------------------------------------------
| DEPRECATED
|--------------------------------------------------------------------------
*/
use Illuminate\Support\Facades\Facade;
class DB extends Facade {
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor()
{
return 'db';
}
}
\ No newline at end of file
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