1 | <?php |
||
13 | class ConfigureSocialServicesManager extends Manager implements Factory |
||
14 | { |
||
15 | /** |
||
16 | * Supported social networks. |
||
17 | * |
||
18 | * @var array |
||
19 | */ |
||
20 | public static $socialNetworks = ['Github', 'Facebook','Google','Twitter', 'Linkedin']; |
||
21 | |||
22 | /** |
||
23 | * Create a new manager instance. |
||
24 | * |
||
25 | * @param \Illuminate\Foundation\Application $app |
||
26 | * |
||
27 | */ |
||
28 | public function __construct($app) |
||
32 | |||
33 | /** |
||
34 | * Get the default driver name. |
||
35 | * |
||
36 | * @return string |
||
37 | */ |
||
38 | public function getDefaultDriver() |
||
42 | |||
43 | /** |
||
44 | * Create an instance of the "github" social provider driver. |
||
45 | * |
||
46 | */ |
||
47 | protected function createGithubDriver() |
||
51 | |||
52 | /** |
||
53 | * Create an instance of the "facebook" social provider driver. |
||
54 | * |
||
55 | */ |
||
56 | protected function createFacebookDriver() |
||
60 | |||
61 | /** |
||
62 | * Create an instance of the "google" social provider driver. |
||
63 | * |
||
64 | */ |
||
65 | protected function createGoogleDriver() |
||
69 | |||
70 | /** |
||
71 | * Create an instance of the "twitter" social provider driver. |
||
72 | * |
||
73 | */ |
||
74 | protected function createTwitterDriver() |
||
78 | |||
79 | /** |
||
80 | * Create an instance of the "linkedin" social provider driver. |
||
81 | * |
||
82 | */ |
||
83 | protected function createLinkedinDriver() |
||
87 | } |
||
88 |