public function getContent() { return $this->content; }
protected function getTag(AssetInfo $assetInfo) { if ($assetInfo->getPath()) { $path = $this->getAssetPath($assetInfo->getPath()); $pubPath = $this->getPublicAssetPath($assetInfo->getPath()); if (file_exists($path)) { $pubPath .= '?c=' . substr(md5(filemtime($path)), 0, 6); } return sprintf('<link rel="stylesheet" type="text/css" href="%s" >', $pubPath); } else { return sprintf(<<<EOF <style type="text/css"> %s </style> EOF , $assetInfo->getContent()); } }