Demo App: Tag
State Machine Definition
{
"machineType": "tag",
"mtime": 1594591840,
"states": {
"Exists": {
"name": "Exists",
"color": "#def",
"extensions": {}
},
"": {
"name": "",
"color": null,
"extensions": {}
}
},
"actions": {
"create": {
"name": "create",
"transitions": {
"": {
"name": "create",
"sourceState": "",
"targetStates": [
"Exists"
],
"color": "#4a0",
"extensions": {}
}
},
"extensions": {}
},
"update": {
"name": "update",
"transitions": {
"Exists": {
"name": "update",
"sourceState": "Exists",
"targetStates": [
"Exists"
],
"color": null,
"extensions": {}
}
},
"extensions": {}
},
"delete": {
"name": "delete",
"transitions": {
"Exists": {
"name": "delete",
"sourceState": "Exists",
"targetStates": [
""
],
"color": "#a40",
"extensions": {}
}
},
"extensions": {}
}
},
"transitions": [
{
"name": "create",
"sourceState": "",
"targetStates": [
"Exists"
],
"color": "#4a0",
"extensions": {}
},
{
"name": "update",
"sourceState": "Exists",
"targetStates": [
"Exists"
],
"color": null,
"extensions": {}
},
{
"name": "delete",
"sourceState": "Exists",
"targetStates": [
""
],
"color": "#a40",
"extensions": {}
}
],
"stateMachineGraph": {},
"properties": {
"id": {
"name": "id",
"type": null,
"isNullable": null,
"extensions": {
"Smalldb\\StateMachine\\SqlExtension\\Definition\\SqlPropertyExtension": {
"sqlColumn": "id",
"isId": true
}
}
},
"name": {
"name": "name",
"type": null,
"isNullable": null,
"extensions": {
"Smalldb\\StateMachine\\SqlExtension\\Definition\\SqlPropertyExtension": {
"sqlColumn": "name",
"isId": false
}
}
}
},
"errors": [],
"referenceClass": "Smalldb\\StateMachine\\Test\\Example\\Tag\\Tag",
"repositoryClass": "Smalldb\\StateMachine\\Test\\Example\\Tag\\TagRepository",
"transitionsClass": "Smalldb\\StateMachine\\Test\\Example\\Tag\\TagTransitions",
"extensions": {
"Smalldb\\StateMachine\\SourcesExtension\\Definition\\SourcesExtension": {
"sourceFiles": [
{
"filename": "test\/Example\/Tag\/Tag.php"
},
{
"filename": "test\/Example\/Tag\/TagData\/TagDataImmutable.php"
}
]
},
"Smalldb\\StateMachine\\DtoExtension\\Definition\\DtoExtension": {
"dtoClassName": "Smalldb\\StateMachine\\Test\\Example\\Tag\\TagData\\TagDataImmutable"
},
"Smalldb\\StateMachine\\SqlExtension\\Definition\\SqlTableExtension": {
"sqlTable": "symfony_demo_tag",
"sqlStateSelect": "'Exists'"
}
}
}