concrete/src/Page/Sitemap/SitemapWriter.php
protected function getTemporaryDirectory()
    {
        $result = $this->temporaryDirectory;
        if ($result === '') {
            $fileHelper = $this->app->make('helper/file');
            $temporaryDirectory = (string) $fileHelper->getTemporaryDirectory();
            if ($temporaryDirectory === '' || !$this->filesystem->isDirectory($temporaryDirectory)) {
                throw new UserMessageException(t('Unable to determine the temporary directory.'));
            }
            $this->temporaryDirectory = $temporaryDirectory;
        }

        return $this->temporaryDirectory;
    }
protected function getTemporaryDirectory()
    {
        $result = $this->temporaryDirectory;
        if ($result === '') {
            $fileHelper = $this->app->make('helper/file');
            $temporaryDirectory = (string) $fileHelper->getTemporaryDirectory();
            if ($temporaryDirectory === '' || !$this->filesystem->isDirectory($temporaryDirectory)) {
                throw new UserMessageException(t('Unable to determine the temporary directory.'));
            }
            $this->temporaryDirectory = $temporaryDirectory;
        }

        return $this->temporaryDirectory;
    }
protected function getTemporaryDirectory ( ) { $ result = $ this -> temporaryDirectory ; if ( $ result === '' ) { $ fileHelper = $ this -> app -> make ( 'helper/file' ) ; $ temporaryDirectory = ( string ) $ fileHelper -> getTemporaryDirectory ( ) ; if ( $ temporaryDirectory === '' || ! $ this -> filesystem -> isDirectory ( $ temporaryDirectory ) ) { throw new UserMessageException ( t ( 'Unable to determine the temporary directory.' ) ) ; } $ this -> temporaryDirectory = $ temporaryDirectory ; } return $ this -> temporaryDirectory ; }
Get the temporary directory to be used during the sitemap generation.

@return string
Get the temporary directory to be used during the sitemap generation .