Skip to content

Clarify README how Token is used and tracked by Article #6

@johnkary

Description

@johnkary

I'm having trouble figuring out how my domain object should implement the "token" concept. The current README shows Article->getToken() as a method, but it isn't clear to me from the documentation how that token is used by the workflow and its nodes.

Does Article->getToken() return a unique identifier for the Node the Article is currently at? Would it return a value like article.draft or article.deleted ?

If it is the current workflow state, in which example class would you set the token via Article->setToken($currentNodeToken)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions