protected function createView()
    {
        if ($this->files->exists($path = $this->getViewPath())) {
            $this->error('View already exists!');

            return;
        }

        $this->makeDirectory($path);
        $view = $this->files->get($this->getViewStub('view'));
        $this->files->put($path, $view);

        $form = $this->files->get($this->getViewStub('form'));
        $this->files->put($this->getViewPath('_form'), $form);

        $this->info('Views successfully created.');
    }