/** * @return bool TRUE if the file is a normal file, FALSE otherwise */ public function isFile() { if ($this->realFile === null) { throw new EyeUnsupportedOperationException(__METHOD__ . ' on ' . $this->path); } return $this->realFile->isFile(); }