Exemple #1
0
 /**
  * Returns the file system for the given name
  *
  * @param string $name Key for the file system
  * @return \Aimeos\MW\Filesystem\Iface File system object
  * @throws \Aimeos\MW\Filesystem\Exception If an no configuration for that name is found
  */
 public function get($name)
 {
     $key = $this->getConfig($name);
     if (is_string($key)) {
         if (!isset($this->objects[$key])) {
             $this->objects[$key] = new \Aimeos\MW\Filesystem\Laravel($this->fsm->disk($key), $this->tempdir);
         }
         return $this->objects[$key];
     }
     return parent::get($name);
 }