setTempDir() public method

public setTempDir ( string $tempDir )
$tempDir string
Beispiel #1
0
 /**
  * @param  AbstractAdapter $adapter
  * @return CacheTool
  */
 public function setAdapter(AbstractAdapter $adapter)
 {
     $this->logger->info(sprintf('Setting adapter: %s', get_class($adapter)));
     $this->adapter = $adapter;
     $this->adapter->setLogger($this->logger);
     $this->adapter->setTempDir($this->tempDir);
     return $this;
 }