1 | <?php |
||
9 | class BolComRetailerService |
||
10 | { |
||
11 | /** |
||
12 | * @var BolComRetailerClient |
||
13 | */ |
||
14 | protected $client; |
||
15 | |||
16 | /** |
||
17 | * BolComRetailer constructor. |
||
18 | */ |
||
19 | public function __construct() |
||
29 | |||
30 | /** |
||
31 | * Reauthenticate if needed. |
||
32 | */ |
||
33 | public function reauthenticateIfNeeded(): void |
||
42 | |||
43 | /** |
||
44 | * Redirect all calls to the client |
||
45 | * |
||
46 | * @param string $name Name of the method to call |
||
47 | * @param mixed $arguments Arguments of the method to call |
||
48 | * @return mixed |
||
49 | */ |
||
50 | public function __call($name, $arguments) |
||
56 | |||
57 | } |
||
58 |