PHP Class Flarum\Api\Serializer\PostSerializer

Inheritance: extends PostBasicSerializer
Afficher le fichier Open project: flarum/core

Protected Properties

Свойство Type Description
$gate Flarum\Core\Access\Gate

Méthodes publiques

Méthode Description
__construct ( Flarum\Core\Access\Gate $gate )

Méthodes protégées

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

Method Details

__construct() public méthode

public __construct ( Flarum\Core\Access\Gate $gate )
$gate Flarum\Core\Access\Gate

discussion() protected méthode

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

editUser() protected méthode

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

getDefaultAttributes() protected méthode

protected getDefaultAttributes ( $post )

hideUser() protected méthode

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

user() protected méthode

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

Property Details

$gate protected_oe property

protected Gate,Flarum\Core\Access $gate
Résultat Flarum\Core\Access\Gate