public function setFiles(array $files)
    {
        $this->files = array();
        foreach ($files as $key => $file) {
            if (!is_array($file)) {
                $file = array('content' => $file);
            }

            $file = array_merge(array(
                'content' => null,
                'mtime' => null,
            ), $file);

            $this->setFile($key, $file['content'], $file['mtime']);
        }
    }
public function setFiles(array $files)
    {
        $this->files = array();
        foreach ($files as $key => $file) {
            if (!is_array($file)) {
                $file = array('content' => $file);
            }

            $file = array_merge(array(
                'content' => null,
                'mtime' => null,
            ), $file);

            $this->setFile($key, $file['content'], $file['mtime']);
        }
    }
public function setFiles ( array $ files ) { $ this -> files = array ( ) ; foreach ( $ files as $ key => $ file ) { if ( ! is_array ( $ file ) ) { $ file = array ( 'content' => $ file ) ; } $ file = array_merge ( array ( 'content' => null , 'mtime' => null , ) , $ file ) ; $ this -> setFile ( $ key , $ file [ 'content' ] , $ file [ 'mtime' ] ) ; } }
Defines the files.

@param array $files An array of files
Defines the files .