class Illuminate / Support / NamespacedItemResolver

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.