1 | <?php |
||
19 | class LaravelSocialServiceProvider extends ServiceProvider |
||
20 | { |
||
21 | use DetectsApplicationNamespace; |
||
22 | |||
23 | /** |
||
24 | * Enabled social providers. |
||
25 | * |
||
26 | * @var array |
||
27 | */ |
||
28 | public $enabled = ['Github','Facebook','Google','Twitter']; |
||
29 | |||
30 | /** |
||
31 | * Register the application services. |
||
32 | */ |
||
33 | public function register() |
||
61 | |||
62 | /** |
||
63 | * Bootstrap the application services. |
||
64 | */ |
||
65 | public function boot() |
||
70 | |||
71 | /** |
||
72 | * Define the AdminLTETemplate routes. |
||
73 | */ |
||
74 | protected function defineRoutes() |
||
84 | |||
85 | /** |
||
86 | * Register social provider manager. |
||
87 | */ |
||
88 | private function registerSocialProviderManager() |
||
94 | |||
95 | /** |
||
96 | * Register socialite service provider. |
||
97 | */ |
||
98 | private function registerSocialiteProvider() |
||
102 | |||
103 | /** |
||
104 | * Register configure social services manager. |
||
105 | */ |
||
106 | private function registerConfigureSocialServicesManager() |
||
113 | |||
114 | /** |
||
115 | * Register OAuth App. |
||
116 | */ |
||
117 | private function registerOAuthApp() |
||
122 | |||
123 | /** |
||
124 | * Register Laravel Socialite service. |
||
125 | */ |
||
126 | private function registerLaravelSocialiteService() |
||
135 | |||
136 | /** |
||
137 | * Register social providers. |
||
138 | */ |
||
139 | private function registerSocialProviders() |
||
149 | |||
150 | /** |
||
151 | * Load migrations. |
||
152 | */ |
||
153 | private function loadMigrations() |
||
157 | |||
158 | /** |
||
159 | * Register social users repository. |
||
160 | */ |
||
161 | private function registerSocialUsersRepository() |
||
168 | } |
||
169 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.