UriComponents
class UriComponents implements ArrayAccess (View source)
Class UriComponents.
Abstracts the components away of a rokka uri (hash, format, filename, stack, etc)
Methods
StackUriComponents constructor.
Creates a UriComponent object from an array with 'stack', 'hash', 'format', 'filename' and 'stack' as keys.
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
__construct(StackUri|string $stack, string|null $hash = null, string|null $format = null, string|null $filename = null)
StackUriComponents constructor.
static
createFromArray(mixed $config)
Creates a UriComponent object from an array with 'stack', 'hash', 'format', 'filename' and 'stack' as keys.
StackUri
getStack()
No description
setStack(string|StackUri $stack)
No description
null|string
getHash()
No description
setHash(null|string $hash)
No description
null|string
getFormat()
No description
setFormat(null|string $format)
No description
null|string
getFilename()
No description
setFilename(null|string $filename)
No description
offsetExists($offset)
No description
offsetGet($offset)
No description
offsetSet($offset, $value)
No description
offsetUnset($offset)
No description