allebb /
gravel
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Ballen\Gravel; |
||
| 4 | |||
| 5 | use Illuminate\Support\ServiceProvider; |
||
| 6 | use Ballen\Gravel\Facades\GravatarMapper; |
||
| 7 | |||
| 8 | /** |
||
| 9 | * GravelMapper |
||
| 10 | * |
||
| 11 | * Gravatar Mapper provides a binding/class method aliases for Laravel to provide friendly syntax. |
||
| 12 | * |
||
| 13 | * @author Bobby Allen <[email protected]> |
||
| 14 | * @license http://opensource.org/licenses/MIT |
||
| 15 | * @link https://github.com/allebb/gravel |
||
| 16 | * @link http://www.bobbyallen.me |
||
| 17 | * |
||
| 18 | */ |
||
| 19 | class GravelServiceProvider extends ServiceProvider |
||
| 20 | { |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @codeCoverageIgnore |
||
| 24 | **/ |
||
| 25 | public function register() |
||
| 26 | { |
||
| 27 | $this->app->bind( |
||
| 28 | 'gravatar', |
||
| 29 | function ($app) { |
||
|
0 ignored issues
–
show
|
|||
| 30 | return new GravatarMapper(); |
||
| 31 | } |
||
| 32 | ); |
||
| 33 | } |
||
| 34 | } |
||
| 35 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.