/** * {@inheritdoc} */ public function getType($cache = true) { if (!$cache) { $this->type = null; } if (!$this->type) { $this->type = $this->filesystem->getType($this->path); } return $this->type; }
/** * {@inheritdoc} */ public function getType() { return $this->filesystem->getType($this->path); }