class DefaultPersistentCollectionGenerator implements PersistentCollectionGenerator (View source)

Default generator for custom PersistentCollection classes.

Methods

__construct(string $collectionDir, string $collectionNs)

No description

void
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

void generateClass(string $class, string $dir)

Generates persistent collection class.

Parameters

string $class
string $dir

Return Value

void

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