Role
class Role extends BaseMapper
Role class.
This class is responsible for converting raw API data into a PHP object of class Contentful\Management\Resource\Role.
Properties
protected ResourceBuilder | $builder | from BaseMapper | |
protected ObjectHydrator | $hydrator | from BaseMapper |
Methods
map($resource, array $data)
{@inheritdoc}
mapPolicy(array $data)
No description
mapConstraint(array $data)
No description
mapPermissions(array $data)
No description
string|null
convertPermission(string|string[] $permission)
No description
Details
in BaseMapper at line 36
__construct(ResourceBuilder $builder)
BaseMapper constructor.
at line 36
map($resource, array $data)
{@inheritdoc}