public function existingOnly()
    {
        $value = [
            'Filename' => $this->getFilename(),
            'Variant' => $this->getVariant(),
            'Hash' => $this->getHash()
        ];
        /** @var DBFile $file */
        $file = DBField::create_field('DBFile', $value);
        $file->setAllowGeneration(false);
        return $file;
    }
public function existingOnly()
    {
        $value = [
            'Filename' => $this->getFilename(),
            'Variant' => $this->getVariant(),
            'Hash' => $this->getHash()
        ];
        /** @var DBFile $file */
        $file = DBField::create_field('DBFile', $value);
        $file->setAllowGeneration(false);
        return $file;
    }
public function existingOnly ( ) { $ value = [ 'Filename' => $ this -> getFilename ( ) , 'Variant' => $ this -> getVariant ( ) , 'Hash' => $ this -> getHash ( ) ] ; /** @var DBFile $file */ $ file = DBField :: create_field ( 'DBFile' , $ value ) ; $ file -> setAllowGeneration ( false ) ; return $ file ; }
Return clone of self which promises to only return existing thumbnails

@return DBFile
Return clone of self which promises to only return existing thumbnails