src/Lib/ProfferPath.php
public function setFilename($filename)
    {
        if (is_array($filename) && isset($filename['name'])) {
            $this->filename = $filename['name'];
        } else {
            $this->filename = $filename;
        }
    }
public function setFilename($filename)
    {
        if (is_array($filename) && isset($filename['name'])) {
            $this->filename = $filename['name'];
        } else {
            $this->filename = $filename;
        }
    }
public function setFilename ( $ filename ) { if ( is_array ( $ filename ) && isset ( $ filename [ 'name' ] ) ) { $ this -> filename = $ filename [ 'name' ] ; } else { $ this -> filename = $ filename ; } }
Set the filename or pull it from the upload array

@param string|array $filename The name of the actual file including it's extension
@return void
Set the filename or pull it from the upload array