1 | <?php |
||
8 | class VivaPaymentsServiceProvider extends ServiceProvider |
||
9 | { |
||
10 | /** |
||
11 | * Indicates if loading of the provider is deferred. |
||
12 | * |
||
13 | * @var bool |
||
14 | */ |
||
15 | protected $defer = true; |
||
16 | |||
17 | /** |
||
18 | * Register the application services. |
||
19 | * |
||
20 | * @return void |
||
21 | */ |
||
22 | public function register() |
||
32 | |||
33 | /** |
||
34 | * Build the Guzzlehttp client. |
||
35 | * |
||
36 | * @param \Illuminate\Contracts\Foundation\Application $app |
||
37 | * @return GuzzleHttp\Client |
||
38 | */ |
||
39 | protected function buildGuzzleClient($app) |
||
54 | |||
55 | /** |
||
56 | * Check if cURL doens't use NSS. |
||
57 | * |
||
58 | * @return bool |
||
59 | */ |
||
60 | protected function curlDoesntUseNss() |
||
66 | |||
67 | /** |
||
68 | * Get the URL based on the environment. |
||
69 | * |
||
70 | * @param string $environment |
||
71 | * @return string |
||
72 | */ |
||
73 | protected function getUrl($environment) |
||
85 | |||
86 | /** |
||
87 | * Get the services provided by the provider. |
||
88 | * |
||
89 | * @return array |
||
90 | */ |
||
91 | public function provides() |
||
95 | } |
||
96 |