public function isFile() { if ($this->realFile === null) { return false; } return parent::isFile(); }