Skip to content
This repository has been archived by the owner on Mar 11, 2022. It is now read-only.

Commit

Permalink
Use the ::class notation
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineAugusti committed Dec 19, 2015
1 parent e01b473 commit 66268e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ Update your `composer.json` file to include this package as a dependency
```

Register the Gravatar service provider by adding it to the providers array in the `config/app.php` file.
```
Thomaswelton\LaravelGravatar\LaravelGravatarServiceProvider
```php
Thomaswelton\LaravelGravatar\LaravelGravatarServiceProvider::class
```

Alias the Gravatar facade by adding it to the aliases array in the `config/app.php` file.
```php
'aliases' => [
'Gravatar' => 'Thomaswelton\LaravelGravatar\Facades\Gravatar'
'Gravatar' => Thomaswelton\LaravelGravatar\Facades\Gravatar::class
]
```

Expand Down

0 comments on commit 66268e7

Please sign in to comment.