NamespacedItemResolver
class NamespacedItemResolver (View source)
Properties
protected array | $parsed | A cache of the parsed items. |
Methods
array
parseKey(string $key)
Parse a key into namespace, group, and item.
array
parseBasicSegments(array $segments)
Parse an array of basic segments.
array
parseNamespacedSegments(string $key)
Parse an array of namespaced segments.
void
setParsedKey(string $key, array $parsed)
Set the parsed value of a key.
void
flushParsedKeys()
Flush the cache of parsed keys.
Details
array
parseKey(string $key)
Parse a key into namespace, group, and item.
protected array
parseBasicSegments(array $segments)
Parse an array of basic segments.
protected array
parseNamespacedSegments(string $key)
Parse an array of namespaced segments.
void
setParsedKey(string $key, array $parsed)
Set the parsed value of a key.
void
flushParsedKeys()
Flush the cache of parsed keys.