Bind data to the view.

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

@return void
482691
public function compose(View $view)
    {
        $scheduledMaintenance = Schedule::futureSchedules()->orderBy('scheduled_at')->get();

        $view->withScheduledMaintenance($scheduledMaintenance);
    }
1004757
public function setViews(array $views)
    {
        $this->views = array();

        foreach ($views as $view) {
            $this->addView($view);
        }
    }
703419
public function view($view, array $data = array())
    {
        $this->view = $view;

        $this->viewData = $data;

        return $this;
    }
841669
public function compose(View $view)
    {
        $user = Container::getInstance()->make(AuthFactory::class)->user();

        if ($user) {
            $view->with([
                'user', $user,
            ]);
        }
    }
37997
protected function set_view()
	{
		$this->_view instanceOf View or $this->_view = \View::forge($this->_view);
	}
90918
public function compose(View $view)
    {

        $view->with('user', Auth::user());
        $view->with('user_characters', $this->getUserGroupCharacters(auth()->user()->group));
    }
262011
public function compose(View $view)
    {
        $view->withCacheDrivers($this->cacheDrivers);
        $view->withMailDrivers($this->mailDrivers);
        $view->withQueueDrivers($this->queueDrivers);
    }
970776
protected function setPath($view)
    {
        $this->viewModel = new ViewModel([], $this->layout->getName());

        if ($view == null) {
            $view = $this->findView();
        }

        $this->viewModel->view = $view;

        viewResolver()->collectDetails($this->viewModel);

        $this->path = $view;
    }
821565
final public function setView(View $view) {
        $this->view = $view;
        if (!$this->initializedView) {
            $this->initializedView = true;
            $this->init();
        }
        return $this;
    }
1013510
public static function setView($view)
    {
        if (count(self::$execContexts)) {
            self::$execContexts[count(self::$execContexts) - 1]['view'] = $view;
        }
    }
195955
public function compose(View $view)
    {
        $status = $this->system->getStatus();

        $view->withSystemStatus(Arr::get($status, 'system_status'));
        $view->withSystemMessage(Arr::get($status, 'system_message'));
    }
927144
public function compose(View $view)
    {
        $componentGroups = $this->getVisibleGroupedComponents();
        $ungroupedComponents = Component::ungrouped()->orderBy('status', 'desc')->get();

        $view->withComponentGroups($componentGroups)
            ->withUngroupedComponents($ungroupedComponents);
    }
1112583
public function registerAssetFiles($view)
    {
        if (YII_ENV_PROD) {
            if (!empty($this->productionJs)) {
                $this->js = $this->productionJs;
            }
            if (!empty($this->productionCss)) {
                $this->css = $this->productionCss;
            }
        }
        parent::registerAssetFiles($view);
    }
1350950
public function addView(View $view)
    {
        if ($this->hasView($view->getName())) {
            throw SchemaException::schemaViewAlreadyExists($this->getName(), $view->getName());
        }

        $this->views[$view->getName()] = $view;
    }
26840
public function display($view = 'view')
    {
        if ($this->getBlockTypeID() < 1) {
            return;
        }

        $bv = new BlockView($this);
        $bv->render($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());
    }
917396
protected function initViewVars($view)
    {
        $view->set('controller', $this->getName());
        $view->set('action', $this->getAction());

        if (method_exists($view, 'setRequest')) {
            $view->setRequest($this->getRequest());
        }

        return $view;
    }