PHP Class Flarum\Api\Serializer\GroupSerializer

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

Protected Properties

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

Méthodes publiques

Méthode Description
__construct ( Symfony\Component\Translation\TranslatorInterface $translator )

Méthodes protégées

Méthode Description
getDefaultAttributes ( Group $group )
permissions ( $group ) : Relationship

Private Methods

Méthode Description
translateGroupName ( string $name ) : string

Method Details

__construct() public méthode

public __construct ( Symfony\Component\Translation\TranslatorInterface $translator )
$translator Symfony\Component\Translation\TranslatorInterface

getDefaultAttributes() protected méthode

protected getDefaultAttributes ( Group $group )
$group Flarum\Core\Group

permissions() protected méthode

protected permissions ( $group ) : Relationship
Résultat Tobscure\JsonApi\Relationship

Property Details

$type protected_oe property

protected $type