|
@@ 68-74 (lines=7) @@
|
| 65 |
|
} |
| 66 |
|
} |
| 67 |
|
|
| 68 |
|
protected function urlBuilderWithCardId($url, $cardId = null) |
| 69 |
|
{ |
| 70 |
|
$placeholder = ['{cardId}', '{apiKey}', '{token}']; |
| 71 |
|
$replaceWith = [$cardId, $this->apiKey, $this->token]; |
| 72 |
|
|
| 73 |
|
return str_replace($placeholder, $replaceWith, $url); |
| 74 |
|
} |
| 75 |
|
|
| 76 |
|
protected function urlBuilderWithBoardId($url, $boardId = null) |
| 77 |
|
{ |
|
@@ 76-82 (lines=7) @@
|
| 73 |
|
return str_replace($placeholder, $replaceWith, $url); |
| 74 |
|
} |
| 75 |
|
|
| 76 |
|
protected function urlBuilderWithBoardId($url, $boardId = null) |
| 77 |
|
{ |
| 78 |
|
$placeholder = ['{boardId}', '{apiKey}', '{token}']; |
| 79 |
|
$replaceWith = [$boardId, $this->apiKey, $this->token]; |
| 80 |
|
|
| 81 |
|
return str_replace($placeholder, $replaceWith, $url); |
| 82 |
|
} |
| 83 |
|
} |