1 | <?php |
||
26 | class Api extends AbstractApi implements ImmutableApiInterface |
||
27 | { |
||
28 | /** |
||
29 | * @param string $accessToken |
||
30 | * |
||
31 | * @throws \InvalidArgumentException |
||
32 | * |
||
33 | * @return $this |
||
34 | */ |
||
35 | 1 | public function recreateForNewAccessToken($accessToken) |
|
41 | |||
42 | /** |
||
43 | * @param ApiExceptionTransformerInterface $apiExceptionTransformer |
||
44 | * |
||
45 | * @throws \InvalidArgumentException |
||
46 | * |
||
47 | * @return $this |
||
48 | */ |
||
49 | 1 | public function recreateForNewApiExceptionTransformer(ApiExceptionTransformerInterface $apiExceptionTransformer) |
|
53 | |||
54 | /** |
||
55 | * @param ResponseTransformerInterface $responseTransformer |
||
56 | * |
||
57 | * @throws \InvalidArgumentException |
||
58 | * |
||
59 | * @return $this |
||
60 | */ |
||
61 | 1 | public function recreateForNewResponseTransformer(ResponseTransformerInterface $responseTransformer) |
|
65 | } |
||
66 |