mapResult example

if (!$version instanceof Version) {
            $this->View()->assign('message', 'Could not get version information');
            $this->View()->assign('success', false);

            return;
        }

        try {
            $destination = $this->createDestinationFromVersion($version);
            $downloadStep = new DownloadStep($version$destination);
            $result = $downloadStep->run($offset);
            $this->view->assign($this->mapResult($result));
        } catch (Exception $e) {
            $this->Response()->setStatusCode(500);
            $this->View()->assign('message', $e->getMessage());
            $this->View()->assign('success', false);
        }
    }

    /** * @return void */
    public function unpackAction()
    {
Home | Imprint | This part of the site doesn't use cookies.