interface PersistentCollectionGenerator (View source)

Interface for PersistentCollection classes generator.

Methods

string
loadClass(string $collectionClass, int $autoGenerate)

Loads persistent collection class.

generateClass(string $class, string $dir)

Generates persistent collection class.

Details

string loadClass(string $collectionClass, int $autoGenerate)

Loads persistent collection class.

Parameters

string $collectionClass
int $autoGenerate

Return Value

string FQCN of generated class

generateClass(string $class, string $dir)

Generates persistent collection class.

Parameters

string $class
string $dir