public function setFiles($files = [])
    {
        if (!$files instanceof FileBag) {
            $files = new FileBag($files);
        }

        $this->_files = $files;
    }
public function setFiles($files = [])
    {
        if (!$files instanceof FileBag) {
            $files = new FileBag($files);
        }

        $this->_files = $files;
    }
public function setFiles ( $ files = [ ] ) { if ( ! $ files instanceof FileBag ) { $ files = new FileBag ( $ files ) ; } $ this -> _files = $ files ; }
Defines the setter for files property.

@param array $files
Defines the setter for files property .