public function getCachePath(): ?string
    {
        if ($this->realTimeStaticalProxyActivated === true && $this->cachePath === null) {
            throw new RuntimeException('Please provide a valid cache path.');
        }

        return $this->cachePath;
    }
public function getCachePath(): ?string
    {
        if ($this->realTimeStaticalProxyActivated === true && $this->cachePath === null) {
            throw new RuntimeException('Please provide a valid cache path.');
        }

        return $this->cachePath;
    }
public function getCachePath ( ) : ? string { if ( $ this -> realTimeStaticalProxyActivated === true && $ this -> cachePath === null ) { throw new RuntimeException ( 'Please provide a valid cache path.' ) ; } return $ this -> cachePath ; }
Get the cache path.

@throws \RuntimeException If real-time statical proxy is active and no cache path is given

@return null|string
Get the cache path .