diff --git a/src/Adapter/PublicCDNAdapter.php b/src/Adapter/PublicCDNAdapter.php index 85a4862..40261a4 100644 --- a/src/Adapter/PublicCDNAdapter.php +++ b/src/Adapter/PublicCDNAdapter.php @@ -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; + } }