PHP Classes

File: lib/StateMachineOne.php

Recommend this page to a friend!
  Classes of Jorge Castro   PHP State Machine One   lib/StateMachineOne.php  
File: lib/StateMachineOne.php
Role: Class source
Content type: text/plain
Description: Class source
Class: PHP State Machine One
Process transitions in a state machine
Author: By
Last change: 2.4 2019-12-26
2.3 2019-12-26
* 2.2 2019-10-22
* Updated eftec/MiniLang (dependency) from 2.9 => 2.12
* Updated eftec/pdoone (dependency) from 1.11 => 1.12
* Added dependency/documentstoreone (dependency) to 1.11 (it allows to use the filesystem as database)
* New methods setDocOne(), getDocOne()
* Now the library allows to use pdo (mysql database) or a file system (documentOne) for the persistence.
* Fixed a problem with the UI (it only executed the last job)
* Added changes to the UI. Now, it is possible to view and change the current job.
* Fixed a problem with the creation of table. Now the column TEXT_JOB is always created.
* 2.1 2019-08-28
* * Updated eftec/minilang to 2.9.
* * It allows to store arrays in each field
* * If the job's field is an object or array, then it is store in a MEDIUMTEXT FIELD (serialized)
* * method Flags::flagexist()
* * method StateMachineOne::removetransition()
* 2.1 2019-08-28
* * Updated eftec/minilang to 2.9.
* * It allows to store arrays in each field
* * If the job's field is an object or array, then it is store in a MEDIUMTEXT FIELD (serialized)
* * method Flags::flagexist()
* * method StateMachineOne::removetransition()
* 1.11 2019-08-04 Some fixes
* 1.11 2019-08-04 Some fixes
* 1.10 2019-08-04
* * Updated to "eftec/minilang": "^2.7"
* * Solved a bug in callEvent() does not fail if there is not a job.
* * Added the method cacheMachine() to cache the results.
* * Code Formatted to PSR-2
* 1.8 2019-07-29 Some cleaups and methods setPdoOne() and getPdoOne();
1.7
1.6
1.6
1.5 New parser.
1.4 include pull #1 and It removes two variables that aren't in use.
Test enhancement
1.3
1.3
1.2
1.2
Date: 4 years ago
Size: 62,319 bytes

You need to be a registered user and login to get this file.

1,615,206 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on: