dhii/machine-state-machine-interface

This package is abandoned and no longer maintained. The author suggests using the dhii/state-machine-interface package instead.

Interfaces for state machines.

Installs: 2 306

Dependents: 6

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 0

Open Issues: 0

pkg:composer/dhii/machine-state-machine-interface

v0.1-alpha1 2018-05-15 08:27 UTC

This package is auto-updated.

Last update: 2021-06-09 23:33:10 UTC


README

Build Status Code Climate Test Coverage Latest Stable Version This package complies with Dhii standards

Interfaces for state machines.

This package aims to provide a standard set of interfaces for working with state machines. For clarity and completion, some terminology must first the defined:

Status

A status is a key or code that identifies a state. State machines will often have a status key for every possible state as well as a current status.

State

A state is a conceptual "frame" in time for a given object. Unlike a status which is simply a key or code, a state typically holds all information about a machine or object at a given status or point in time.

Transition

A transition is a key or code that represents an operation that can be performed on a machine or object. This operation can influence that subject's status and state.