66 lines
1.3 KiB
YAML
66 lines
1.3 KiB
YAML
|
name: NamespacedItemResolver
|
||
|
class_comment: null
|
||
|
dependencies: []
|
||
|
properties:
|
||
|
- name: parsed
|
||
|
visibility: protected
|
||
|
comment: '# * A cache of the parsed items.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @var array'
|
||
|
methods:
|
||
|
- name: parseKey
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: key
|
||
|
comment: "# * A cache of the parsed items.\n# *\n# * @var array\n# */\n# protected\
|
||
|
\ $parsed = [];\n# \n# /**\n# * Parse a key into namespace, group, and item.\n\
|
||
|
# *\n# * @param string $key\n# * @return array"
|
||
|
- name: parseBasicSegments
|
||
|
visibility: protected
|
||
|
parameters:
|
||
|
- name: segments
|
||
|
comment: '# * Parse an array of basic segments.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param array $segments
|
||
|
|
||
|
# * @return array'
|
||
|
- name: parseNamespacedSegments
|
||
|
visibility: protected
|
||
|
parameters:
|
||
|
- name: key
|
||
|
comment: '# * Parse an array of namespaced segments.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param string $key
|
||
|
|
||
|
# * @return array'
|
||
|
- name: setParsedKey
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: key
|
||
|
- name: parsed
|
||
|
comment: '# * Set the parsed value of a key.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param string $key
|
||
|
|
||
|
# * @param array $parsed
|
||
|
|
||
|
# * @return void'
|
||
|
- name: flushParsedKeys
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Flush the cache of parsed keys.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return void'
|
||
|
traits: []
|
||
|
interfaces: []
|