public function getBaseTmpDir()
    {
        $folders = explode(DIRECTORY_SEPARATOR, $this->getRootDir());
        $foldersCount = count($folders);

        /**
         * Base Path
         */
        $projectDir = '';
        if (true === isset($folders[$foldersCount - 2])) {
            $projectDir = $folders[$foldersCount - 2];
        }

        $tempDirPath = FileUtility::getUserBasedCachedDir(sprintf('%s-%s', $projectDir, $this->getEnvironment()));
        FileUtility::mkdir($tempDirPath);

        return $tempDirPath;
    }
public function getBaseTmpDir()
    {
        $folders = explode(DIRECTORY_SEPARATOR, $this->getRootDir());
        $foldersCount = count($folders);

        /**
         * Base Path
         */
        $projectDir = '';
        if (true === isset($folders[$foldersCount - 2])) {
            $projectDir = $folders[$foldersCount - 2];
        }

        $tempDirPath = FileUtility::getUserBasedCachedDir(sprintf('%s-%s', $projectDir, $this->getEnvironment()));
        FileUtility::mkdir($tempDirPath);

        return $tempDirPath;
    }
public function getBaseTmpDir ( ) { $ folders = explode ( DIRECTORY_SEPARATOR , $ this -> getRootDir ( ) ) ; $ foldersCount = count ( $ folders ) ; /**
         * Base Path
         */ $ projectDir = '' ; if ( true === isset ( $ folders [ $ foldersCount - 2 ] ) ) { $ projectDir = $ folders [ $ foldersCount - 2 ] ; } $ tempDirPath = FileUtility :: getUserBasedCachedDir ( sprintf ( '%s-%s' , $ projectDir , $ this -> getEnvironment ( ) ) ) ; FileUtility :: mkdir ( $ tempDirPath ) ; return $ tempDirPath ; }
Get Base Tmp Dir

@return string
Get Base Tmp Dir