name: DefinitionBuilder class_comment: "# * Builds a definition.\n# *\n# * @author Fabien Potencier \n\ # * @author Gr\xE9goire Pineau \n# * @author Tobias Nyholm " dependencies: - name: MetadataStoreInterface type: class source: Symfony\Component\Workflow\Metadata\MetadataStoreInterface properties: [] methods: - name: __construct visibility: public parameters: - name: places default: '[]' - name: transitions default: '[]' comment: "# * Builds a definition.\n# *\n# * @author Fabien Potencier \n\ # * @author Gr\xE9goire Pineau \n# * @author Tobias Nyholm\ \ \n# */\n# class DefinitionBuilder\n# {\n# private array\ \ $places = [];\n# private array $transitions = [];\n# private string|array|null\ \ $initialPlaces = null;\n# private ?MetadataStoreInterface $metadataStore = null;\n\ # \n# /**\n# * @param string[] $places\n# * @param Transition[] $transitions" - name: build visibility: public parameters: [] comment: null - name: clear visibility: public parameters: [] comment: '# * Clear all data in the builder. # * # * @return $this' - name: setInitialPlaces visibility: public parameters: - name: initialPlaces comment: '# * @param string|string[]|null $initialPlaces # * # * @return $this' - name: addPlace visibility: public parameters: - name: place comment: '# * @return $this' - name: addPlaces visibility: public parameters: - name: places comment: '# * @param string[] $places # * # * @return $this' - name: addTransitions visibility: public parameters: - name: transitions comment: '# * @param Transition[] $transitions # * # * @return $this' - name: addTransition visibility: public parameters: - name: transition comment: '# * @return $this' - name: setMetadataStore visibility: public parameters: - name: metadataStore comment: '# * @return $this' traits: - Symfony\Component\Workflow\Metadata\MetadataStoreInterface interfaces: []