/** * Get the assets domain * * @var string * @return string */ public function url($file = NULL) { $asset = new Asset($this->config); if (!is_null($file)) { $asset->setFile($file); } return $asset->url(); }