src/Floppy/Common/FileId.php
public function variant(array $attrs)
    {
        return new self($this->id, $attrs, null, $this->info->all());
    }
public function variant(array $attrs)
    {
        return new self($this->id, $attrs, null, $this->info->all());
    }
public function variant ( array $ attrs ) { return new self ( $ this -> id , $ attrs , null , $ this -> info -> all ( ) ) ; }
Creates variant with given attributes of this file

@param array $attrs Variant attributes - it might be image size, file name etc.

@return FileId
Creates variant with given attributes of this file