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
Api
Serializer
AbstractSerializer
getDefaultAttributes
Flarum\Api\Serializer\AbstractSerializer::getDefaultAttributes PHP Méthode
AbstractSerializer Class Documentation
Afficher le fichier
Open project: flarum/core
getDefaultAttributes()
abstract
protected
méthode
Get the default set of serialized attributes for a model.
abstract
protected
getDefaultAttributes
(
object
|
array
$model
) :
array
$model
object
|
array
Résultat
array
protected abstract function getDefaultAttributes($model);
AbstractSerializer
buildRelationship
formatDate
getActor
getAttributes
getContainer
getCustomRelationship
getDefaultAttributes
getEventDispatcher
getRelationship
getRelationshipData
hasMany
hasOne
resolveSerializer
resolveSerializerClass
setActor
setContainer
setEventDispatcher