public function process() { if ($this->isAsset() && $this->locator->hasProcessedFile($this->filepath)) { return ' '; } //hasProcessedFile will add it otherwise return $this->getProcessedContent(); }