\CGClientTickets\ActorPersistActor

This abstract class defines the interface for actors that are responsibile for saving data objects in a persistent manner.

Summary

Methods
Properties
Constants
save()
delete()
load_by_id()
get_saved_id()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

load_by_id()

load_by_id(int $id)

Load the data object, given an id.

Parameters

int $id

get_saved_id()

get_saved_id() : int

After saving a data object, get the id of the newly saved object.

Returns

int