public function getCacheDir()
    {
        if ($this->cacheDir === null) {
            $this->setCacheDir(dirname(__DIR__) . DIRECTORY_SEPARATOR . 'cache' . DIRECTORY_SEPARATOR);
        }

        return $this->cacheDir;
    }
public function getCacheDir()
    {
        if ($this->cacheDir === null) {
            $this->setCacheDir(dirname(__DIR__) . DIRECTORY_SEPARATOR . 'cache' . DIRECTORY_SEPARATOR);
        }

        return $this->cacheDir;
    }
public function getCacheDir ( ) { if ( $ this -> cacheDir === null ) { $ this -> setCacheDir ( dirname ( __DIR__ ) . DIRECTORY_SEPARATOR . 'cache' . DIRECTORY_SEPARATOR ) ; } return $ this -> cacheDir ; }
Returns the cache directory with a trailing DIRECTORY_SEPARATOR.

@return string
Returns the cache directory with a trailing DIRECTORY_SEPARATOR .