PHP Class REBELinBLUE\Deployer\Group

Inheritance: extends Illuminate\Database\Eloquent\Model, use trait Illuminate\Database\Eloquent\SoftDeletes, use trait REBELinBLUE\Deployer\Traits\BroadcastChanges
显示文件 Open project: rebelinblue/deployer Class Usage Examples

Protected Properties

Property Type Description
$appends array Additional attributes to include in the JSON representation.
$casts array The attributes that should be casted to native types.
$fillable array The attributes that are mass assignable.
$hidden array The attributes excluded from the model's JSON form.

Public Methods

Method Description
getProjectCountAttribute ( ) : integer Define a accessor for the count of projects.
projects ( ) : Illuminate\Database\Eloquent\Relations\HasMany Has many relationship.

Method Details

getProjectCountAttribute() public method

Define a accessor for the count of projects.

projects() public method

Has many relationship.
public projects ( ) : Illuminate\Database\Eloquent\Relations\HasMany
return Illuminate\Database\Eloquent\Relations\HasMany

Property Details

$appends protected_oe property

Additional attributes to include in the JSON representation.
protected array $appends
return array

$casts protected_oe property

The attributes that should be casted to native types.
protected array $casts
return array

$fillable protected_oe property

The attributes that are mass assignable.
protected array $fillable
return array

$hidden protected_oe property

The attributes excluded from the model's JSON form.
protected array $hidden
return array