class Entry extends OperatorResource

Represents an Identity v2 Catalog Entry.

Traits

Properties

$name string
$type string

Methods

matches (string $name, string $type) : bool

Indicates whether this catalog entry matches a certain name and type.

getEndpointUrl (string $region, string $urlType) : string

Retrieves the catalog entry's URL according to a specific region and URL type

Details

matches(string $name, string $type)

Indicates whether this catalog entry matches a certain name and type.

Parameters

$name string
$type string

Return value

bool TRUE if it's a match, FALSE if not

Example code

$bool = $entry->matches($name, $type);

getEndpointUrl(string $region, string $urlType)

Retrieves the catalog entry's URL according to a specific region and URL type

Parameters

$region string
$urlType string

Return value

string

Example code

$string = $entry->getEndpointUrl($region, $urlType);