Skip to content

Commit 044d1d4

Browse files
committed
Added a note about using an alias when using the facade
1 parent 7f7a540 commit 044d1d4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ That's all! Fire away!
4949
We can choose to either use the `Tmdb` Facade, or to use dependency injection.
5050

5151
### Facade example
52+
The example below shows how you can use the `Tmdb` facade.
53+
If you don't want to keep adding the `use Tmdb\Laravel\Facades\Tmdb;` statement in your files, then you can also add the facade as an alias in `config/app.php` file.
5254
```php
5355
use Tmdb\Laravel\Facades\Tmdb;
5456

0 commit comments

Comments
 (0)