/**
  * Tests setUp
  */
 public function setUp()
 {
     parent::setUp();
     @mkdir($this->getTempPath());
     $this->filemanager = new Filemanager();
     $this->tempDir = new Directory($this->getTempPath());
     $this->tempDir->cleanUp();
 }
 /**
  * Tests setUp
  */
 public function setUp()
 {
     @mkdir($this->getTempPath());
     $filemanager = new Filemanager();
     $tempDir = new Directory($this->getTempPath());
     $tempDir->cleanUp();
     $this->fileCache = new FileCache($this->getTempPath(), $filemanager);
     $this->memoryCache = new MemoryCache();
     $this->smartCache = new SmartCache($this->fileCache, $this->memoryCache);
 }
示例#3
0
 /**
  * @return string
  */
 public function getDir()
 {
     return $this->dir->getPath();
 }