public function getCachePath()
    {
        if ($this->cachePath) {
            return $this->cachePath;
        }

        $cachePath = $this->getOption('cache');

        return is_string($cachePath) ? $cachePath : $this->getOption('defaultCache');
    }
public function getCachePath()
    {
        if ($this->cachePath) {
            return $this->cachePath;
        }

        $cachePath = $this->getOption('cache');

        return is_string($cachePath) ? $cachePath : $this->getOption('defaultCache');
    }
public function getCachePath ( ) { if ( $ this -> cachePath ) { return $ this -> cachePath ; } $ cachePath = $ this -> getOption ( 'cache' ) ; return is_string ( $ cachePath ) ? $ cachePath : $ this -> getOption ( 'defaultCache' ) ; }
Returns cache path.

@return string $cachePath
Returns cache path .