protected function setFiles(array $files)
    {
        $this->files = array();
        foreach ($files as $file) {
            $this->files[] = clone $file;
        }
    }
protected function setFiles(array $files)
    {
        $this->files = array();
        foreach ($files as $file) {
            $this->files[] = clone $file;
        }
    }
protected function setFiles ( array $ files ) { $ this -> files = array ( ) ; foreach ( $ files as $ file ) { $ this -> files [ ] = clone $ file ; } }
Sets files.

@param array $files list of files.

@return void
Sets files .