Modules\Doptor\CompanyInfo\Controllers\CompanyController::create PHP Метод

create() публичный Метод

Show the form for creating a new resource.
public create ( )
    public function create()
    {
        $country_model = $this->module_namespace . 'Models\\Country';
        $countries = $country_model::names();
        $title = "Add New Company";
        $this->layout->title = $title;
        $this->layout->content = View::make("{$this->module_alias}::companies.{$this->type}.create_edit")->with('title', $title)->with('countries', $countries)->with('incharge_count', 1);
    }