PHP Class Modules\Doptor\CompanyInfo\Models\Company

Inheritance: extends Eloquen\Eloquent
Show file Open project: doptor/doptor

Protected Properties

Property Type Description
$fillable
$guarded
$table

Public Methods

Method Description
boot ( )
branches ( ) A company have many branches
country ( ) A company can belong to one country
incharges ( ) Get the company incharges.
isValid ( )
names ( )

Method Details

boot() public static method

public static boot ( )

branches() public method

A company have many branches
public branches ( )

country() public method

A company can belong to one country
public country ( )

incharges() public method

Get the company incharges.
public incharges ( )

isValid() public method

public isValid ( )

names() public static method

public static names ( )

Property Details

$fillable protected property

protected $fillable

$guarded protected property

protected $guarded

$table protected property

protected $table