PHP Class app\Business

Inheritance: extends Illuminate\Database\Eloquent\Model
Afficher le fichier Open project: ant-vel/antVel Class Usage Examples

Méthodes publiques

Свойство Type Description
$incrementing
$primaryKey
$timestamps

Protected Properties

Свойство Type Description
$fillable array The attributes that are mass assignable.
$table string The database table used by the model.

Méthodes publiques

Méthode Description
create ( array $attr = [], $normal = true )
getAgeAttribute ( )
getFullNameAttribute ( )
getHasPhoneAttribute ( )
user ( ) : belongsTo Get business user.

Method Details

create() public static méthode

public static create ( array $attr = [], $normal = true )
$attr array

getAgeAttribute() public méthode

public getAgeAttribute ( )

getFullNameAttribute() public méthode

getHasPhoneAttribute() public méthode

user() public méthode

Get business user.
public user ( ) : belongsTo
Résultat belongsTo

Property Details

$fillable protected_oe property

The attributes that are mass assignable.
protected array $fillable
Résultat array

$incrementing public_oe property

public $incrementing

$primaryKey public_oe property

public $primaryKey

$table protected_oe property

The database table used by the model.
protected string $table
Résultat string

$timestamps public_oe property

public $timestamps