src/AlternativeData/SocialSentiment.php 1 location
|
@@ 52-60 (lines=9) @@
|
| 49 |
|
/** |
| 50 |
|
* @return string |
| 51 |
|
*/ |
| 52 |
|
protected function getFullEndpoint(): string |
| 53 |
|
{ |
| 54 |
|
$endpoint = str_replace('{symbol}', $this->symbol, self::ENDPOINT); |
| 55 |
|
$endpoint = str_replace('{type}', $this->type, $endpoint); |
| 56 |
|
$endpoint = str_replace('{date}', $this->date, $endpoint); |
| 57 |
|
|
| 58 |
|
return $endpoint; |
| 59 |
|
|
| 60 |
|
} |
| 61 |
|
|
| 62 |
|
/** |
| 63 |
|
* @return bool|void |
src/DataApis/TimeSeries/Query.php 1 location
|
@@ 77-84 (lines=8) @@
|
| 74 |
|
/** |
| 75 |
|
* @return string |
| 76 |
|
*/ |
| 77 |
|
protected function getFullEndpoint(): string |
| 78 |
|
{ |
| 79 |
|
$endpoint = str_replace('{id}', $this->id, self::ENDPOINT); |
| 80 |
|
$endpoint = str_replace('{key}', $this->key, $endpoint); |
| 81 |
|
$endpoint = str_replace('{subKey}', $this->subKey, $endpoint); |
| 82 |
|
|
| 83 |
|
return $endpoint; |
| 84 |
|
} |
| 85 |
|
|
| 86 |
|
/** |
| 87 |
|
* @return bool|void |
src/Stocks/News.php 1 location
|
@@ 46-52 (lines=7) @@
|
| 43 |
|
/** |
| 44 |
|
* @return string |
| 45 |
|
*/ |
| 46 |
|
protected function getFullEndpoint(): string |
| 47 |
|
{ |
| 48 |
|
$endpoint = str_replace('{symbol}', $this->symbol, self::ENDPOINT); |
| 49 |
|
$endpoint = str_replace('{last}', "/last/$this->last", $endpoint); |
| 50 |
|
|
| 51 |
|
return $endpoint; |
| 52 |
|
} |
| 53 |
|
|
| 54 |
|
/** |
| 55 |
|
* @return bool|void |