public function upload($id, array $files)
    {
        foreach ($this->uploaders as $uploader) {
            if (!$uploader->upload($id, $files)) {
                return false;
            }
        }

        return true;
    }
public function upload($id, array $files)
    {
        foreach ($this->uploaders as $uploader) {
            if (!$uploader->upload($id, $files)) {
                return false;
            }
        }

        return true;
    }
public function upload ( $ id , array $ files ) { foreach ( $ this -> uploaders as $ uploader ) { if ( ! $ uploader -> upload ( $ id , $ files ) ) { return false ; } } return true ; }
Uploads via all defined uploaders

@param string $id Nested directory's id
@param array $files An array of file entities
@return boolean
Uploads via all defined uploaders