class DefaultPersistentCollectionGenerator implements PersistentCollectionGenerator (View source)

Default generator for custom PersistentCollection classes.

Methods

__construct(string $collectionDir, string $collectionNs)

No description

generateClass(string $class, string $dir)

Generates persistent collection class.

string
loadClass(string $collectionClass, int $autoGenerate)

Loads persistent collection class.

Details

__construct(string $collectionDir, string $collectionNs)

Parameters

string $collectionDir
string $collectionNs

generateClass(string $class, string $dir)

Generates persistent collection class.

Parameters

string $class
string $dir

string loadClass(string $collectionClass, int $autoGenerate)

Loads persistent collection class.

Parameters

string $collectionClass
int $autoGenerate

Return Value

string FQCN of generated class