Bind data to the view.

@param \Illuminate\Contracts\View\View $view

@return void
195955
public function compose(View $view)
    {
        $status = $this->system->getStatus();

        $view->withSystemStatus(Arr::get($status, 'system_status'));
        $view->withSystemMessage(Arr::get($status, 'system_message'));
    }
693313
public function compose(View $view)
    {
        $frontMenus = MenuFacade::all();
        $categories = $this->categoryRepository->all();
        //$menus = $this->menuRepository->parentsAll();
        $frontMenuCollections = Collection::make([]);
        foreach ($frontMenus as $frontMenu) {
            $frontMenuCollections->push(
                ['name' => $frontMenu->label(),
                'route' => $frontMenu->route(),
                'params' => $frontMenu->params()]
            );
        }

        $categoryCollections = Collection::make([]);
        foreach ($categories as $category) {
            $categoryCollections->push(
                ['name' => $category->name,
                'route' => 'category.view',
                'params' => $category->slug]
            );
        }


        $view->with('categories', $categoryCollections)
            ->with('frontMenus', $frontMenuCollections);
    }
202084
protected function initializeView(ViewInterface $view)
    {
        $view->assign('contentObjectData', $this->configurationManager->getContentObject()->data);
        parent::initializeView($view);
    }
190346
public function compose(View $view)
    {
        $menu = \Menu::getMenu('adminMenu');

        $menu->link('admin.dashboard', function (Link $link) {
            $link->name = 'Admin Dashboard';
            $link->url  = route('admin.index');
        });
        $menu->link('admin.artisan', function (Link $link) {
            $link->name = 'Artisan';
            $link->url  = route('admin.artisan.index');
        });
        $menu->dropDown('admin.users', 'Users', function (DropDown $dropDown) {
            $dropDown->link('admin.users.index', function (Link $link) {
                $link->name = 'List Users';
                $link->url  = route('admin.users.index');
            });
            $dropDown->link('admin.users.create', function (Link $link) {
                $link->name = 'Add User';
                $link->url  = route('admin.users.create');
            });
        });
    }
821565
final public function setView(View $view) {
        $this->view = $view;
        if (!$this->initializedView) {
            $this->initializedView = true;
            $this->init();
        }
        return $this;
    }
1008951
public function registerAssetFiles($view)
    {
        $language = Yii::$app->language;
        if (file_exists($this->sourcePath . "/$language.js") !== false) {
            $this->js = [
                "$language.js"
            ];
        }

        parent::registerAssetFiles($view);
    }
214927
public function bind($js)
    {
        foreach ($this->views as $view) {
            $this->event->listen("composing: {$view}", function () use ($js) {
                echo "<script>{$js}</script>";
            });
        }
    }
336918
public function outputView(array $data, $view = null)
    {
        $this->getContext()->getOutput()->outputView($data, $view);
    }
368177
public function compose(View $view)
    {

        $view->with('esi_status', EsiStatus::latest()->first());
        $view->with('is_rate_limited', $this->isEsiRateLimited());
        $view->with('rate_limit_ttl', $this->getRateLimitKeyTtl());
    }
485207
public function createView(View $view)
    {
        $this->_execSql($this->_platform->getCreateViewSQL($view->getQuotedName($this->_platform), $view->getSql()));
    }
1013510
public static function setView($view)
    {
        if (count(self::$execContexts)) {
            self::$execContexts[count(self::$execContexts) - 1]['view'] = $view;
        }
    }
528432
protected function render($view,$data)
	{
		$data['version']=$this->getVersionInfo();
		$data['time']=time();
		$data['admin']=$this->adminInfo;
		include($this->getViewFile($view,$data['code']));
	}
1367522
public function compose(View $view)
    {
        /**
         * @var  \Carbon\Carbon                  $start
         * @var  \Carbon\Carbon                  $end
         * @var  \Illuminate\Support\Collection  $range
         */
        extract(DateRange::getCurrentMonthDaysRange());

        $view->with('authenticatedVisitorsRatio', $this->getAuthenticatedVisitorsRatio(
            $this->getVisitorsFilteredByDateRange($start, $end)
        ));
    }
160870
public function composeWithModel(View $view)
    {
        $key = $this->getModelRouteKey();
        $model = $this->findModelByRouteKey($key);

        $view->with('model', $model);
    }
505546
public function compose(View $view)
    {
        /**
         * @var  \Carbon\Carbon                  $start
         * @var  \Carbon\Carbon                  $end
         * @var  \Illuminate\Support\Collection  $range
         */
        extract(DateRange::getCurrentMonthDaysRange());

        $view->with('referersRatio', $this->calculateLanguagesPercentage(
            $this->getReferersCountFromSessionActivities($start, $end)
        ));
    }
1372958
public function setView(Phtml $_view)
    {
        $this->_view = $_view;

        $this->_layout->addPartial('content', $this->_view);
    }
1019972
public function display($view, $data = array(), $charset = null)
    {
        echo $this->get($view, $data, $charset);
    }