KeyParser trait resolves key strings into namespace, group and item Example: namespace::group.item

Protected Properties

protected array $keyParserCache

keyParserCache is a cache of the parsed items

Public Methods

public parseKey()

public parseKey($key): array 

parseKey into namespace, group, and item

public setParsedKey()

public setParsedKey(string $key, array $parsed): void 

setParsedKey value

Protected Methods

protected keyParserParseBasicSegments()

protected keyParserParseBasicSegments($segments): array 

keyParserParseBasicSegments as an array

protected keyParserParseSegments()

protected keyParserParseSegments($key): array 

keyParserParseSegments from a string