src/Controller/Index.php
public function prereqAction()
    {
        $prereqs = $this->plugin('Install/Prerequisites')->check();

        $model = $this->createViewModel(array('prerequisites' => $prereqs), true);
        $model->setTemplate('install/index/prerequisites.ajax.phtml');

        return $model;
    }
public function prereqAction()
    {
        $prereqs = $this->plugin('Install/Prerequisites')->check();

        $model = $this->createViewModel(array('prerequisites' => $prereqs), true);
        $model->setTemplate('install/index/prerequisites.ajax.phtml');

        return $model;
    }
public function prereqAction ( ) { $ prereqs = $ this -> plugin ( 'Install/Prerequisites' ) -> check ( ) ; $ model = $ this -> createViewModel ( array ( 'prerequisites' => $ prereqs ) , true ) ; $ model -> setTemplate ( 'install/index/prerequisites.ajax.phtml' ) ; return $ model ; }
Action to check prerequisites via ajax request.

@return ViewModel|ResponseInterface
Action to check prerequisites via ajax request .