saves an object to a storage facility (either insert or update).
Implement this method for specifying how you want to set a state in the
storage facility.
A storage facility could store a timestamp and the state the transition
was made to, for extra statistical information.
this method is public to be able to call it via the ReaderWriterDelegator
public processSetState ( |
||
$identifier | ||
$state | string | |
Результат | boolean | true if just added to storage, false if stored before |