1 | <?php |
||
11 | class EloquentAESServiceProvider extends EncryptionServiceProvider |
||
12 | { |
||
13 | /** |
||
14 | * Bootstrap the application services. |
||
15 | */ |
||
16 | public function boot() |
||
29 | |||
30 | /** |
||
31 | * Register the application services. |
||
32 | */ |
||
33 | public function register() |
||
41 | |||
42 | /** |
||
43 | * Register the encrypter. |
||
44 | * |
||
45 | * @return void |
||
46 | */ |
||
47 | protected function registerEncryptor() |
||
55 | |||
56 | /** |
||
57 | * Configure Opis Closure signing for security. |
||
58 | * |
||
59 | * @return void |
||
60 | */ |
||
61 | protected function registerOpisSecurityKey() |
||
71 | |||
72 | /** |
||
73 | * Extract the encryption key from the given configuration. |
||
74 | * |
||
75 | * @param array $config |
||
76 | * @return string |
||
77 | * |
||
78 | * @throws \RuntimeException |
||
79 | */ |
||
80 | protected function key(array $config) |
||
90 | } |