Address
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
No description
Load a directory from the address.
Load a file from the address.
Load a git repository from the address.
A unique identifier for this Address.
The address value
Details
in
AbstractObject at line 13
__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain)
No description
in
AbstractObject at line 19
protected null|array|string|int|float|bool
queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)
No description
at line 19
Container
container()
Load a container from the address.
at line 28
Directory
directory(array|null $exclude = null, array|null $include = null, bool|null $noCache = false)
Load a directory from the address.
at line 46
File
file(array|null $exclude = null, array|null $include = null, bool|null $noCache = false)
Load a file from the address.
at line 64
GitRef
gitRef()
Load a git ref (branch, tag or commit) from the address.
at line 73
GitRepository
gitRepository()
Load a git repository from the address.
at line 82
AbstractId
id()
A unique identifier for this Address.
at line 91
Secret
secret()
Load a secret from the address.
at line 100
Service
service()
Load a service from the address.
at line 109
Socket
socket()
Load a local socket from the address.
at line 118
string
value()
The address value