src/MamuzBlog/Controller/Plugin/ViewModelFactory.php
public function create($variables = null, $options = null)
    {
        $viewModel = new ViewModel($variables, $options);
        $viewModel->setTerminal($this->isTerminal());
        $viewModel->setVariable('isTerminal', $viewModel->terminate());

        return $viewModel;
    }
public function create($variables = null, $options = null)
    {
        $viewModel = new ViewModel($variables, $options);
        $viewModel->setTerminal($this->isTerminal());
        $viewModel->setVariable('isTerminal', $viewModel->terminate());

        return $viewModel;
    }
public function create ( $ variables = null , $ options = null ) { $ viewModel = new ViewModel ( $ variables , $ options ) ; $ viewModel -> setTerminal ( $ this -> isTerminal ( ) ) ; $ viewModel -> setVariable ( 'isTerminal' , $ viewModel -> terminate ( ) ) ; return $ viewModel ; }
Create ViewModel instance
and set terminal mode by HttpRequest

@param null|array|\Traversable $variables
@param null|array|\Traversable $options
@return ModelInterface
Create ViewModel instance and set terminal mode by HttpRequest