public function bind(ViewModelInterface $model)
	{
		$this->scoped['@file'] = $model->getResource();
		$this->scoped['@model'] = $this->model = $model;
		$this->scoped['@context'] = $this;
		
		$this->renderer->triggerContextBound($this);
	}
public function bind(ViewModelInterface $model)
	{
		$this->scoped['@file'] = $model->getResource();
		$this->scoped['@model'] = $this->model = $model;
		$this->scoped['@context'] = $this;
		
		$this->renderer->triggerContextBound($this);
	}
public function bind ( ViewModelInterface $ model ) { $ this -> scoped [ '@file' ] = $ model -> getResource ( ) ; $ this -> scoped [ '@model' ] = $ this -> model = $ model ; $ this -> scoped [ '@context' ] = $ this ; $ this -> renderer -> triggerContextBound ( $ this ) ; }
Bind this express context to the given view model triggering a context-bound event
in the process.

@param ViewModelInterface $model
Bind this express context to the given view model triggering a context - bound event in the process .