public function create(Model $model, $type = null)
    {
        $this->breadcrumb->onCreate($type);
        $form = $this->getForm($model, $type)->onCreate();

        return $this->view('create', ['form' => $form]);
    }
public function create(Model $model, $type = null)
    {
        $this->breadcrumb->onCreate($type);
        $form = $this->getForm($model, $type)->onCreate();

        return $this->view('create', ['form' => $form]);
    }
public function create ( Model $ model , $ type = null ) { $ this -> breadcrumb -> onCreate ( $ type ) ; $ form = $ this -> getForm ( $ model , $ type ) -> onCreate ( ) ; return $ this -> view ( 'create' , [ 'form' => $ form ] ) ; }
create new notification notification

@param Model $model
@param String $type
@return View
create new notification notification