class
Illuminate
/
Support
/
NamespacedItemResolver
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
NamespacedItemResolver
Properties
protected
$parsed array
A cache of the parsed items.
Default: []
Methods
public
parseKey ( $key ) : array
Parse a key into namespace, group, and item.
Parameters
- $key string
protected
parseBasicSegments ( array $segments ) : array
Parse an array of basic segments.
Parameters
- $segments array
protected
parseNamespacedSegments ( $key ) : array
Parse an array of namespaced segments.
Parameters
- $key string
public
setParsedKey ( $key , $parsed ) : void
Set the parsed value of a key.
Parameters
- $key string
- $parsed array
public
flushParsedKeys ( ) : void
Flush the cache of parsed keys.