class Address extends AbstractObject implements IdAble

A standardized address to load containers, directories, secrets, and other object types. Address format depends on the type, and is validated at type selection.

Properties

$lastQuery from  AbstractObject

Methods

__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain)

No description

null|array|string|int|float|bool
queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)

No description

container()

Load a container from the address.

directory(array|null $exclude = null, array|null $include = null, bool|null $noCache = false)

Load a directory from the address.

file(array|null $exclude = null, array|null $include = null, bool|null $noCache = false)

Load a file from the address.

gitRef()

Load a git ref (branch, tag or commit) from the address.

gitRepository()

Load a git repository from the address.

id()

A unique identifier for this Address.

secret()

Load a secret from the address.

service()

Load a service from the address.

socket()

Load a local socket from the address.

string
value()

The address value

Details

in AbstractObject at line 13
__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain)

No description

Parameters

AbstractClient $client
QueryBuilderChain $queryBuilderChain

in AbstractObject at line 19
protected null|array|string|int|float|bool queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)

No description

Parameters

QueryBuilder $leafQueryBuilder
string $leafKey

Return Value

null|array|string|int|float|bool

at line 19
Container container()

Load a container from the address.

Return Value

Container

at line 28
Directory directory(array|null $exclude = null, array|null $include = null, bool|null $noCache = false)

Load a directory from the address.

Parameters

array|null $exclude
array|null $include
bool|null $noCache

Return Value

Directory

at line 46
File file(array|null $exclude = null, array|null $include = null, bool|null $noCache = false)

Load a file from the address.

Parameters

array|null $exclude
array|null $include
bool|null $noCache

Return Value

File

at line 64
GitRef gitRef()

Load a git ref (branch, tag or commit) from the address.

Return Value

GitRef

at line 73
GitRepository gitRepository()

Load a git repository from the address.

Return Value

GitRepository

at line 82
AbstractId id()

A unique identifier for this Address.

Return Value

AbstractId

at line 91
Secret secret()

Load a secret from the address.

Return Value

Secret

at line 100
Service service()

Load a service from the address.

Return Value

Service

at line 109
Socket socket()

Load a local socket from the address.

Return Value

Socket

at line 118
string value()

The address value

Return Value

string