PHP Class Fenos\Notifynder\Models\NotificationCategory

Inheritance: extends Illuminate\Database\Eloquent\Model
显示文件 Open project: fenos/notifynder Class Usage Examples

Public Properties

Property Type Description
$timestamps boolean

Protected Properties

Property Type Description
$fillable array
$table string

Public Methods

Method Description
categories ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany Groups Categories.
notifications ( ) : Illuminate\Database\Eloquent\Relations\HasMany Relation with the notifications.

Method Details

categories() public method

Groups Categories.
public categories ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany
return Illuminate\Database\Eloquent\Relations\BelongsToMany

notifications() public method

Relation with the notifications.
public notifications ( ) : Illuminate\Database\Eloquent\Relations\HasMany
return Illuminate\Database\Eloquent\Relations\HasMany

Property Details

$fillable protected_oe property

protected array $fillable
return array

$table protected_oe property

protected string $table
return string

$timestamps public_oe property

public bool $timestamps
return boolean