Nette\Configurator::getCacheDirectory PHP 메소드

getCacheDirectory() 보호된 메소드

protected getCacheDirectory ( )
    protected function getCacheDirectory()
    {
        if (empty($this->parameters['tempDir'])) {
            throw new Nette\InvalidStateException('Set path to temporary directory using setTempDirectory().');
        }
        $dir = $this->parameters['tempDir'] . '/cache';
        if (!is_dir($dir)) {
            @mkdir($dir);
            // @ - directory may already exist
        }
        return $dir;
    }