AXIAM PHP SDK

ManagedGroup
in package

FinalYes

Declares that a group must exist, as part of a CONTRACT.md ยง27.6 manifest.

See ManagedRole for why the declarative layer wears an attribute in PHP.

Attributes
#[Attribute]
\Attribute::TARGET_CLASS | \Attribute::IS_REPEATABLE

Table of Contents

Properties

$description  : string
$key  : string
$metadata  : array<string|int, mixed>
$name  : string
$roleKeys  : array<string|int, mixed>

Methods

__construct()  : mixed

Properties

$metadata read-only

public array<string|int, mixed> $metadata = []

$roleKeys read-only

public array<string|int, mixed> $roleKeys = []

Methods

__construct()

public __construct(string $key, string $name[, string $description = '' ][, array<int, string> $roleKeys = [] ][, array<string, mixed> $metadata = [] ]) : mixed
Parameters
$key : string

Manifest-local identity.

$name : string

The group's name on the server.

$description : string = ''

Human-readable description.

$roleKeys : array<int, string> = []

KEYS of the roles this group carries.

$metadata : array<string, mixed> = []

Free-form metadata.

On this page

Search results