/** * Check if minification is enabled for specified content type * * @param string $contentType * @return bool */ protected function isEnabled($contentType) { if (!isset($this->enabled[$contentType])) { $this->enabled[$contentType] = $this->config->isAssetMinification($contentType); } return $this->enabled[$contentType]; }