/** * Checks if the file is a directory * @return boolean true if the file is a directory, false if not */ public function isDirectory() { return $this->fs->isDirectory($this); }