/** * A file only exists if the file_exists() and is in the DB as a record * * Use $file->isInDB() to only check for a DB record * Use $file->File->exists() to only check if the asset exists * * @return bool */ public function exists() { return parent::exists() && $this->File->exists(); }