/** * @return boolean */ private function shouldGenerate() { if (!$this->mergedAsset->exists()) { return true; } return !$this->isFileUpToDate(); }
/** * @return boolean */ private function shouldGenerate() { if (!$this->mergedAsset->exists()) { return true; } if ($this->shouldCompareExistingVersion()) { return !$this->isFileUpToDate(); } return false; }