src/repository/SegmentRepository.php 1 location
|
@@ 47-53 (lines=7) @@
|
| 44 |
|
* @param ClientInterface $client |
| 45 |
|
* @param Cache|null $cache |
| 46 |
|
*/ |
| 47 |
|
public function __construct(ClientInterface $client, Cache $cache = null) |
| 48 |
|
{ |
| 49 |
|
$this->client = $client; |
| 50 |
|
$this->cache = $cache; |
| 51 |
|
$this->cacheEnabled = $cache instanceof Cache; |
| 52 |
|
$this->baseUrl = self::BASE_URL; |
| 53 |
|
} |
| 54 |
|
|
| 55 |
|
/** |
| 56 |
|
* @return string |
src/service/Report.php 1 location
|
@@ 82-91 (lines=10) @@
|
| 79 |
|
* @param ClientInterface $client |
| 80 |
|
* @param Cache|null $cache |
| 81 |
|
*/ |
| 82 |
|
public function __construct(ClientInterface $client, Cache $cache = null) |
| 83 |
|
{ |
| 84 |
|
$this->client = $client; |
| 85 |
|
$this->cache = $cache; |
| 86 |
|
$this->cacheEnabled = $cache instanceof Cache; |
| 87 |
|
|
| 88 |
|
$this->baseUrl = self::BASE_URL; |
| 89 |
|
$this->baseUrlDownload = self::BASE_URL_DOWNLOAD; |
| 90 |
|
|
| 91 |
|
} |
| 92 |
|
|
| 93 |
|
/** |
| 94 |
|
* @return string |
src/service/UserUpload.php 1 location
|
@@ 53-59 (lines=7) @@
|
| 50 |
|
* @param ClientInterface $client |
| 51 |
|
* @param Cache|null $cache |
| 52 |
|
*/ |
| 53 |
|
public function __construct(ClientInterface $client, Cache $cache = null) |
| 54 |
|
{ |
| 55 |
|
$this->client = $client; |
| 56 |
|
$this->cache = $cache; |
| 57 |
|
$this->cacheEnabled = $cache instanceof Cache; |
| 58 |
|
$this->baseUrl = self::BASE_URL; |
| 59 |
|
} |
| 60 |
|
|
| 61 |
|
/** |
| 62 |
|
* @return string |