Backend\UserController::create PHP Method

create() public method

Show the form for creating a new user.
public create ( ) : Response
return Response
    public function create()
    {
        $company_module = 'Modules\\Doptor\\CompanyInfo\\Models\\Company';
        if (class_exists($company_module)) {
            $companies = $company_module::names();
        } else {
            $companies = null;
        }
        $this->layout->title = 'Create New User';
        $this->layout->content = View::make($this->link_type . '.' . $this->current_theme . '.users.create_edit')->with('companies', $companies);
    }