Skip to content

Commit

Permalink
feat: add setCdnPrefix()
Browse files Browse the repository at this point in the history
  • Loading branch information
wilr committed Sep 20, 2022
1 parent e7b756b commit 1d9bbd0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Adapter/PublicCDNAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,12 @@ public function getPublicUrl($path)
{
return Controller::join_links($this->cdnPrefix, ASSETS_DIR, $path);
}


public function setCdnPrefix(string $cdnPrefix): self
{
$this->cdnPrefix = $cdnPrefix;

return $this;
}
}

0 comments on commit 1d9bbd0

Please sign in to comment.