PHP Class Flarum\Api\Serializer\UserBasicSerializer

Inheritance: extends AbstractSerializer
显示文件 Open project: flarum/core Class Usage Examples

Protected Properties

Property Type Description
$type

Protected Methods

Method Description
getDefaultAttributes ( User $user )
groups ( $user ) : Relationship

Method Details

getDefaultAttributes() protected method

protected getDefaultAttributes ( User $user )
$user Flarum\Core\User

groups() protected method

protected groups ( $user ) : Relationship
return Tobscure\JsonApi\Relationship

Property Details

$type protected_oe property

protected $type