platform/api/symfony/Component/Workflow/Definition.yaml
2024-09-02 10:44:11 -07:00

65 lines
1.9 KiB
YAML

name: Definition
class_comment: null
dependencies:
- name: LogicException
type: class
source: Symfony\Component\Workflow\Exception\LogicException
- name: InMemoryMetadataStore
type: class
source: Symfony\Component\Workflow\Metadata\InMemoryMetadataStore
- name: MetadataStoreInterface
type: class
source: Symfony\Component\Workflow\Metadata\MetadataStoreInterface
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: places
- name: transitions
- name: initialPlaces
default: 'null'
- name: metadataStore
default: 'null'
comment: "# * @author Fabien Potencier <fabien@symfony.com>\n# * @author Gr\xE9\
goire Pineau <lyrixx@lyrixx.info>\n# * @author Tobias Nyholm <tobias.nyholm@gmail.com>\n\
# */\n# final class Definition\n# {\n# private array $places = [];\n# private\
\ array $transitions = [];\n# private array $initialPlaces = [];\n# private MetadataStoreInterface\
\ $metadataStore;\n# \n# /**\n# * @param string[] $places\n# * @param\
\ Transition[] $transitions\n# * @param string|string[]|null $initialPlaces"
- name: getInitialPlaces
visibility: public
parameters: []
comment: '# * @return string[]'
- name: getPlaces
visibility: public
parameters: []
comment: '# * @return string[]'
- name: getTransitions
visibility: public
parameters: []
comment: '# * @return Transition[]'
- name: getMetadataStore
visibility: public
parameters: []
comment: null
- name: setInitialPlaces
visibility: private
parameters:
- name: places
comment: null
- name: addPlace
visibility: private
parameters:
- name: place
comment: null
- name: addTransition
visibility: private
parameters:
- name: transition
comment: null
traits:
- Symfony\Component\Workflow\Exception\LogicException
- Symfony\Component\Workflow\Metadata\InMemoryMetadataStore
- Symfony\Component\Workflow\Metadata\MetadataStoreInterface
interfaces: []