| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class BladeServiceProvider extends ServiceProvider |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Bootstrap services. |
||
| 12 | * |
||
| 13 | * @return void |
||
| 14 | */ |
||
| 15 | public function boot() |
||
| 16 | { |
||
| 17 | Blade::directive('socialite', function ($expression) { |
||
| 18 | // Check user needs :login or :register text |
||
| 19 | return "<?php echo LaravelSocialite::socialiteButtons($expression); ?>"; |
||
| 20 | }); |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Register bindings in the container. |
||
| 25 | * |
||
| 26 | * @return void |
||
| 27 | */ |
||
| 28 | public function register() |
||
| 30 | // |
||
| 31 | } |
||
| 33 |