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. |
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.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/6.x/Illuminate/Support/NamespacedItemResolver.html