27 lines
1.1 KiB
YAML
27 lines
1.1 KiB
YAML
|
name: MetadataStoreInterface
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: Transition
|
||
|
type: class
|
||
|
source: Symfony\Component\Workflow\Transition
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: getMetadata
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: key
|
||
|
- name: subject
|
||
|
default: 'null'
|
||
|
comment: "# * MetadataStoreInterface is able to fetch metadata for a specific workflow.\n\
|
||
|
# *\n# * @author Gr\xE9goire Pineau <lyrixx@lyrixx.info>\n# */\n# interface MetadataStoreInterface\n\
|
||
|
# {\n# public function getWorkflowMetadata(): array;\n# \n# public function getPlaceMetadata(string\
|
||
|
\ $place): array;\n# \n# public function getTransitionMetadata(Transition $transition):\
|
||
|
\ array;\n# \n# /**\n# * Returns the metadata for a specific subject.\n# *\n#\
|
||
|
\ * This is a proxy method.\n# *\n# * @param string|Transition|null $subject Use\
|
||
|
\ null to get workflow metadata\n# * Use\
|
||
|
\ a string (the place name) to get place metadata\n# * \
|
||
|
\ Use a Transition instance to get transition metadata"
|
||
|
traits:
|
||
|
- Symfony\Component\Workflow\Transition
|
||
|
interfaces: []
|