public function roles(): array
    {
        return array_merge(array(),
            ...array_map(
                function (Attribute $attr) {
                    return $attr->values();
                }, $this->allOf(AttributeType::OID_ROLE)));
    }
public function roles(): array
    {
        return array_merge(array(),
            ...array_map(
                function (Attribute $attr) {
                    return $attr->values();
                }, $this->allOf(AttributeType::OID_ROLE)));
    }
public function roles ( ) : array { return array_merge ( array ( ) , ... array_map ( function ( Attribute $ attr ) { return $ attr -> values ( ) ; } , $ this -> allOf ( AttributeType :: OID_ROLE ) ) ) ; }
Get all 'Role' attribute values.

@return RoleAttributeValue[]
Get all Role attribute values .