interface MarkingStoreInterface

MarkingStoreInterface is the interface between the Workflow Component and a plain old PHP object: the subject.

It converts the Marking into something understandable by the subject and vice versa.

Methods

getMarking(object $subject)

Gets a Marking from a subject.

setMarking(object $subject, Marking $marking)

Sets a Marking to a subject.

Details

at line line 34
Marking getMarking(object $subject)

Gets a Marking from a subject.

Parameters

object $subject A subject

Return Value

Marking The marking

at line line 42
setMarking(object $subject, Marking $marking)

Sets a Marking to a subject.

Parameters

object $subject A subject
Marking $marking A marking