public function getCachePath() { $value = parent::getAttribute('cachePath'); if (!$value) { return false; } $cachePath = craft()->config->parseEnvironmentString($value); return $this->forceTrailingSlash($cachePath); }