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

51 lines
1.1 KiB
YAML

name: EventNameTrait
class_comment: null
dependencies:
- name: InvalidArgumentException
type: class
source: Symfony\Component\Workflow\Exception\InvalidArgumentException
properties: []
methods:
- name: getNameForTransition
visibility: private
parameters:
- name: workflowName
- name: transitionName
comment: '# * @author Nicolas Rigaud <squrious@protonmail.com>
# *
# * @internal
# */
# trait EventNameTrait
# {
# /**
# * Gets the event name for workflow and transition.
# *
# * @throws InvalidArgumentException If $transitionName is provided without $workflowName'
- name: getNameForPlace
visibility: private
parameters:
- name: workflowName
- name: placeName
comment: '# * Gets the event name for workflow and place.
# *
# * @throws InvalidArgumentException If $placeName is provided without $workflowName'
- name: computeName
visibility: private
parameters:
- name: workflowName
- name: transitionOrPlaceName
comment: null
traits:
- Symfony\Component\Workflow\Exception\InvalidArgumentException
interfaces: []