{@inheritDoc}
@see \n2n\persistence\meta\structure\MetaEntityFactory::createView()
@return View
354779
public function createView($name, $query): View {
		$metaEntity = new CommonView($name, $query);
		$this->database->addMetaEntity($metaEntity);
		return $metaEntity;
	}
846121
private function createView(): void
    {
        $path = $this->getViewPath();

        if ($this->files->exists($path)) {
            $this->error($this->qualifyClass($this->getNameInput()).'View.blade.php - Already exists! (@_@)');

            return;
        }

        $this->files->put($path, $this->getViewStub());

        $this->info(' - '.$this->qualifyClass($this->getNameInput()).'View.blade.php - was created. (^_^)');

        $this->printStarUs();
    }
1048343
protected function generateView($view, $data = [])
    {
        if(is_null($this->viewPath)) {
            return $view;
        }

        $twig = new Twig_Environment(
            new Twig_Loader_Filesystem(realpath($this->viewPath))
        );

        return $twig->render($view, $data);
    }
281693
public function make($name="default", $width=100, $height=100, $bgcolor=0xFFFFFF)
    {
        $bstall = new Bstall;
        $this->width = $width;
        $this->height = $height;
        $this->bgcolor = $bgcolor;
        $this->load($name);
       
        return View::make('bstall::canvas', [
            'name'   => $name,
            'width'  => $this->width,
            'height' => $this->height,
            'canvas' => json_encode($this->canvas, true)
        ]);
    }
209957
public function actionRecreateViews ()
		{
			$db = Yii::$app->db;
			$views = $this->getViews();

			foreach ($views as $view)
			{
				$info = $db->createCommand("SHOW CREATE VIEW `$view`")->queryAll();
				$sql = $info[ 0 ][ 'Create View' ];
				preg_match("/.*VIEW `$view` as (.*)/i", $sql, $match);
				if (isset($match[ 1 ]))
				{
					$db->createCommand("CREATE OR REPLACE VIEW `$view` AS " . $match[ 1 ])->execute();
					Console::printColor("View `$view` was recreated.", "green");
				}
				else
				{
					Console::printColor("Cannot find create string for view `$view`.", "red");
				}
			}
		}
327582
public function create()
    {
        $template = $this->template->where('active', 1)->where('type', 'admin')->first();
        $templates = $this->template->where('active', 1)->where('type', 'default')->get();
        $pageViews = $this->template->getPageViews();
        return view('chuckcms::backend.pages.create', compact('template', 'templates', 'page', 'pageViews'));
    }
486423
public function create($view = null, array $data = [])
    {
        if (is_null($view)) {
            return $this;
        }

        return $this->render($view, $data, true)->content();
    }
1056184
private function generateView($view)
    {
        return $this->indenter
            ->indent(view('scaffold-interface::template.views.'.$this->parser->getTemplate().'.'.$view,
                ['parser' => $this->parser, 'dataSystem' => $this->dataSystem])->render());
    }
943223
public function createView(MetaInterface $meta, array $options = [])
    {
        $view = $this->newView();
        $this->buildView($view, $meta, $this->createType($meta->getMetaType()), $options);

        return $view;
    }
673477
public function create()
    {
        $this->viewData['record'] = $this->model;

        $this->viewData['actionVerb'] = 'Create';
        $this->viewData['formMethod'] = 'POST';
        $this->viewData['formAction'] = 'user.store';

        return view($this->defaultFormView, $this->viewData);
    }
218026
public function getFormView(): FormView
    {
        if (!$this->formView) {
            $this->formView = $this->getForm()->createView();
        }

        return $this->formView;
    }
558095
public function create($menu = null)
    {
        $model = $this->repository->getModel();

        return view('menulinks::admin.create')
            ->with(compact('model', 'menu'));
    }
117910
private void createView(Map<String, MapReduce> views, String columnName)
    {
        MapReduce mapr = new MapReduce();
        mapr.setMap("function(doc){if(doc." + columnName + "){emit(doc." + columnName + ", doc);}}");
        views.put(columnName, mapr);
    }
1350950
public function addView(View $view)
    {
        if ($this->hasView($view->getName())) {
            throw SchemaException::schemaViewAlreadyExists($this->getName(), $view->getName());
        }

        $this->views[$view->getName()] = $view;
    }
769439
public function make($view, $data = array(), $mergeData = array())
	{
		$path = $this->finder->find($view);

		$data = array_merge($mergeData, $this->parseData($data));

		$this->callCreator($view = new View($this, $this->getEngineFromPath($path), $view, $path, $data));

		return $view;
	}
428285
public function view($view, $data = array(), $mergeData = array())
    {
        return $this->views->make($this->getThemeNamespace($view), $data, $mergeData);
    }
866946
protected function populateView($view)
    {
        $view = $this->initViewVars($view);
        $view = $this->initViewContentBlocks($view);

        return $view;
    }