1 | <?php |
||
26 | class Expand implements ActionInterface |
||
27 | { |
||
28 | /** |
||
29 | * @var string |
||
30 | */ |
||
31 | protected $shortUrl; |
||
32 | |||
33 | /** |
||
34 | * @var |
||
35 | */ |
||
36 | protected $projection; |
||
37 | |||
38 | /** |
||
39 | * Shorten constructor. |
||
40 | * @param $shortUrl |
||
41 | * @throws GoogleUrlException |
||
42 | * @internal param $longUrl |
||
43 | */ |
||
44 | 12 | public function __construct($shortUrl, $projection = null) |
|
57 | |||
58 | /** |
||
59 | * @return string |
||
60 | */ |
||
61 | 6 | public function getRequestMethod() |
|
65 | |||
66 | /** |
||
67 | * @return array |
||
68 | */ |
||
69 | 6 | public function getRequestOptions() |
|
78 | |||
79 | /** |
||
80 | * @param ResponseInterface $response |
||
81 | * @return Url |
||
82 | */ |
||
83 | 6 | public function processResponse(ResponseInterface $response) |
|
88 | } |
||
89 |