1 | <?php |
||
25 | class Expand implements ActionInterface |
||
26 | { |
||
27 | /** |
||
28 | * @var string |
||
29 | */ |
||
30 | protected $shortUrl; |
||
31 | |||
32 | /** |
||
33 | * Shorten constructor. |
||
34 | * @param $shortUrl |
||
35 | * @throws GoogleUrlException |
||
36 | * @internal param $longUrl |
||
37 | */ |
||
38 | 6 | public function __construct($shortUrl) |
|
46 | |||
47 | /** |
||
48 | * @return string |
||
49 | */ |
||
50 | 3 | public function getRequestMethod() |
|
54 | |||
55 | /** |
||
56 | * @return array |
||
57 | */ |
||
58 | 3 | public function getRequestOptions() |
|
64 | |||
65 | /** |
||
66 | * @param ResponseInterface $response |
||
67 | * @return UrlResource |
||
68 | */ |
||
69 | 3 | public function processResponse(ResponseInterface $response) |
|
74 | } |
||
75 |