public function createTmpFolders(ApplicationInterface $application)
    {

        // create the directory we want to store the sessions in
        $tmpFolders = array(
            new \SplFileInfo($application->getTmpDir()),
            new \SplFileInfo($application->getDataDir()),
            new \SplFileInfo($application->getCacheDir()),
            new \SplFileInfo($application->getSessionDir())
        );

        // create the applications temporary directories
        foreach ($tmpFolders as $tmpFolder) {
            $this->createDirectory($tmpFolder);
        }
    }
public function createTmpFolders(ApplicationInterface $application)
    {

        // create the directory we want to store the sessions in
        $tmpFolders = array(
            new \SplFileInfo($application->getTmpDir()),
            new \SplFileInfo($application->getDataDir()),
            new \SplFileInfo($application->getCacheDir()),
            new \SplFileInfo($application->getSessionDir())
        );

        // create the applications temporary directories
        foreach ($tmpFolders as $tmpFolder) {
            $this->createDirectory($tmpFolder);
        }
    }
public function createTmpFolders ( ApplicationInterface $ application ) { // create the directory we want to store the sessions in $ tmpFolders = array ( new \ SplFileInfo ( $ application -> getTmpDir ( ) ) , new \ SplFileInfo ( $ application -> getDataDir ( ) ) , new \ SplFileInfo ( $ application -> getCacheDir ( ) ) , new \ SplFileInfo ( $ application -> getSessionDir ( ) ) ) ; // create the applications temporary directories foreach ( $ tmpFolders as $ tmpFolder ) { $ this -> createDirectory ( $ tmpFolder ) ; } }
Creates the temporary directory for the webapp.

@param \AppserverIo\Psr\Application\ApplicationInterface $application The application to create the temporary directories for

@return void
Creates the temporary directory for the webapp .