PHP Class Flarum\Api\Serializer\PostBasicSerializer

Inheritance: extends AbstractSerializer
Afficher le fichier Open project: flarum/core Class Usage Examples

Protected Properties

Свойство Type Description
$type

Méthodes protégées

Méthode Description
discussion ( $post ) : Relationship
getDefaultAttributes ( Post $post )
user ( $post ) : Relationship

Method Details

discussion() protected méthode

protected discussion ( $post ) : Relationship
Résultat Tobscure\JsonApi\Relationship

getDefaultAttributes() protected méthode

protected getDefaultAttributes ( Post $post )
$post Flarum\Core\Post

user() protected méthode

protected user ( $post ) : Relationship
Résultat Tobscure\JsonApi\Relationship

Property Details

$type protected_oe property

protected $type