| File: | 
lib/Transition.php | 
 
| Role: | 
Class source | 
 
| Content type: | 
text/plain | 
 
| Description: | 
Class source | 
 
| Class: | 
PHP State Machine One 
Process transitions in a state machine | 
 
| Author: | 
By Jorge Castro | 
 
|  Last change: | 
* 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() 
* 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.7 
1.6 
1.5 New parser. 
Test enhancement 
1.3 
1.3 
1.2 
1.2 
 | 
 
| Date: | 
5 years ago | 
 
| Size: | 
8,841 bytes | 
 
 | 
 
 
 | 
 |