protected function isCombineEnabled() { switch ($this->type) { case MinimeeType::Css: return (bool) $this->settings->combineCssEnabled; case MinimeeType::Js: return (bool) $this->settings->combineJsEnabled; } }