src/Mmanos/Casset/Container.php
public function cdn($source)
	{
		$url = str_ireplace($this->public_path, '', $this->assets_path . '/' . ltrim($source, '/'));
		$url = $this->cdn ? $this->cdn . $url : $url;
		return $url;
	}
public function cdn($source)
	{
		$url = str_ireplace($this->public_path, '', $this->assets_path . '/' . ltrim($source, '/'));
		$url = $this->cdn ? $this->cdn . $url : $url;
		return $url;
	}
public function cdn ( $ source ) { $ url = str_ireplace ( $ this -> public_path , '' , $ this -> assets_path . '/' . ltrim ( $ source , '/' ) ) ; $ url = $ this -> cdn ? $ this -> cdn . $ url : $ url ; return $ url ; }
Get the URL to the CDN for an asset.

@param string $source

@return string
Get the URL to the CDN for an asset .