Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Flarum
Core
Notification
subject
Flarum\Core\Notification::subject PHP Méthode
Notification Class Documentation
Afficher le fichier
Open project: flarum/core
subject()
public
méthode
Define the relationship with the notification's subject.
public
subject
( ) :
Illuminate\Database\Eloquent\Relations\MorphTo
Résultat
Illuminate\Database\Eloquent\Relations\MorphTo
public function subject() { return $this->morphTo('subject', 'subjectModel', 'subject_id'); }
Notification
getDataAttribute
getSubjectModelAttribute
getSubjectModels
read
sender
setDataAttribute
setSubjectModel
subject
user