1 | <?php |
||
18 | class ResponseServiceProvider extends ServiceProvider |
||
19 | { |
||
20 | /** |
||
21 | * Register the service provider. |
||
22 | * |
||
23 | * @return void |
||
24 | */ |
||
25 | public function boot() |
||
30 | |||
31 | /** |
||
32 | * Override this to use your own serializer. |
||
33 | * |
||
34 | * @return Serializer |
||
35 | */ |
||
36 | protected function getSerializer() |
||
40 | |||
41 | /** |
||
42 | * Boot response |
||
43 | * |
||
44 | * @return Response |
||
45 | */ |
||
46 | protected function bootResponse() |
||
72 | |||
73 | /** |
||
74 | * Register the service provider. |
||
75 | * |
||
76 | * @return void |
||
77 | */ |
||
78 | public function register() |
||
82 | |||
83 | /** |
||
84 | * Register response macro |
||
85 | * |
||
86 | * @deprecated We still register macro for backward compatibility, but DO NOT USE THIS MACRO ANYMORE ! |
||
87 | * @param Response $response |
||
88 | */ |
||
89 | private function registerMacro($response) |
||
95 | } |
||
96 |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.