class MultipleStateMarkingStore implements MarkingStoreInterface
MultipleStateMarkingStore stores the marking into a property of the subject.
This store deals with a "multiple state" Marking. It means a subject can be in many states at the same time.
__construct(string $property = 'marking', PropertyAccessorInterface $propertyAccessor = null) | ||
Marking | getMarking(object $subject) Gets a Marking from a subject. | |
setMarking(object $subject, Marking $marking) Sets a Marking to a subject. |
Gets a Marking from a subject.
Sets a Marking to a subject.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.2/Symfony/Component/Workflow/MarkingStore/MultipleStateMarkingStore.html