1 | <?php |
||
15 | class Collector implements CollectorInterface |
||
16 | { |
||
17 | use LoggerAwareTrait; |
||
18 | |||
19 | protected $client; |
||
20 | protected $location; |
||
21 | |||
22 | 10 | public function __construct(Client $client = null) |
|
27 | |||
28 | /** |
||
29 | * Getter for location |
||
30 | * |
||
31 | * return string |
||
32 | */ |
||
33 | 6 | public function getLocation() |
|
37 | |||
38 | /** |
||
39 | * Setter for location |
||
40 | * |
||
41 | * @param string $location |
||
42 | * @return Collector |
||
43 | */ |
||
44 | 6 | public function setLocation($location) |
|
49 | |||
50 | /** |
||
51 | * fetch |
||
52 | * @return \PSR\Http\Message\StreamInterface $tordata | null |
||
53 | */ |
||
54 | 4 | public function fetch() |
|
79 | } |
||
80 |