protected function initMvp($target, Doozr_Registry $registry, Request $request)
    {
        // Try to get model instance
        $model = $this->modelFactory(
            $target,
            [
                $registry,
                $request,
            ]
        );

        // Try to get a view instance
        $view = $this->viewFactory(
            $target,
            [
                $registry,
                $request,
            ]
        );

        // Try to get presenter with model (view
        $presenter = $this->presenterFactory(
            $target,
            [
                $registry,
                $request,
                $model,
            ]
        );

        $this->setModel($model);
        $this->setView($view);
        $this->setPresenter($presenter);
    }
protected function initMvp($target, Doozr_Registry $registry, Request $request)
    {
        // Try to get model instance
        $model = $this->modelFactory(
            $target,
            [
                $registry,
                $request,
            ]
        );

        // Try to get a view instance
        $view = $this->viewFactory(
            $target,
            [
                $registry,
                $request,
            ]
        );

        // Try to get presenter with model (view
        $presenter = $this->presenterFactory(
            $target,
            [
                $registry,
                $request,
                $model,
            ]
        );

        $this->setModel($model);
        $this->setView($view);
        $this->setPresenter($presenter);
    }
protected function initMvp ( $ target , Doozr_Registry $ registry , Request $ request ) { // Try to get model instance $ model = $ this -> modelFactory ( $ target , [ $ registry , $ request , ] ) ; // Try to get a view instance $ view = $ this -> viewFactory ( $ target , [ $ registry , $ request , ] ) ; // Try to get presenter with model (view $ presenter = $ this -> presenterFactory ( $ target , [ $ registry , $ request , $ model , ] ) ; $ this -> setModel ( $ model ) ; $ this -> setView ( $ view ) ; $ this -> setPresenter ( $ presenter ) ; }
Initializes the MVP layer by creating instances of Model, View & Presenter.

@param string         $target   Target for MVP (name of class)
@param Doozr_Registry $registry Instance of Doozr registry to inject
@param Request        $request  Request state to inject NOT REQUEST! only state cause no transform!

@author Benjamin Carl <opensource@clickalicious.de>
Initializes the MVP layer by creating instances of Model View & Presenter .