interface PersistentCollectionGenerator (View source)

Interface for PersistentCollection classes generator.

Methods

string
loadClass(string $collectionClass, int $autoGenerate)

Loads persistent collection class.

void
generateClass(string $class, string $dir)

Generates persistent collection class.

Details

string loadClass(string $collectionClass, int $autoGenerate)

Loads persistent collection class.

Parameters

string $collectionClass FQCN of base collection class
int $autoGenerate

Return Value

string FQCN of generated class

void generateClass(string $class, string $dir)

Generates persistent collection class.

Parameters

string $class
string $dir

Return Value

void