W3cubDocs

/Symfony 4.1

InMemoryMetadataStore

class InMemoryMetadataStore implements MetadataStoreInterface

Traits

GetMetadataTrait

Methods

getMetadata(string $key, $subject = null) from GetMetadataTrait
__construct(array $workflowMetadata = array(), array $placesMetadata = array(), SplObjectStorage $transitionsMetadata = null)
array getWorkflowMetadata()
array getPlaceMetadata(string $place)
array getTransitionMetadata(Transition $transition)

Details

getMetadata(string $key, $subject = null)

Parameters

string $key
$subject

__construct(array $workflowMetadata = array(), array $placesMetadata = array(), SplObjectStorage $transitionsMetadata = null)

Parameters

array $workflowMetadata
array $placesMetadata
SplObjectStorage $transitionsMetadata

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

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