W3cubDocs

/Symfony 4.1

MetadataStoreInterface

interface MetadataStoreInterface

MetadataStoreInterface is able to fetch metadata for a specific workflow.

Methods

array getWorkflowMetadata()
array getPlaceMetadata(string $place)
array getTransitionMetadata(Transition $transition)
getMetadata(string $key, $subject = null)

Returns the metadata for a specific subject.

Details

array getWorkflowMetadata()

Return Value

array

array getPlaceMetadata(string $place)

Parameters

string $place

Return Value

array

array getTransitionMetadata(Transition $transition)

Parameters

Transition $transition

Return Value

array

getMetadata(string $key, $subject = null)

Returns the metadata for a specific subject.

This is a proxy method.

Parameters

string $key
$subject

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Workflow/Metadata/MetadataStoreInterface.html