class
Illuminate
/
Support
/
NamespacedItemResolver
You are viewing an older version of the documentation. For the latest, please visit master documentation.
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.