W3cubDocs

/Laravel 5.8

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.

Parameters

string $key

Return Value

array

protected array parseBasicSegments(array $segments)

Parse an array of basic segments.

Parameters

array $segments

Return Value

array

protected array parseNamespacedSegments(string $key)

Parse an array of namespaced segments.

Parameters

string $key

Return Value

array

void setParsedKey(string $key, array $parsed)

Set the parsed value of a key.

Parameters

string $key
array $parsed

Return Value

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.8/Illuminate/Support/NamespacedItemResolver.html