Propel API
Class

NameFactory

class NameFactory

A name generation factory.

Constants

PHP_GENERATOR

The class name of the PHP name generator.

CONSTRAINT_GENERATOR

The fully qualified class name of the constraint name generator.

Methods

static The generateName(string $algorithmName, array $inputs)

Given a list of <code>String</code> objects, implements an algorithm which produces a name.

Details

at line 72
static public The generateName(string $algorithmName, array $inputs)

Given a list of <code>String</code> objects, implements an algorithm which produces a name.

Parameters

string $algorithmName The fully qualified class name of the {@link NameGenerator} implementation to use to generate names.
array $inputs Inputs used to generate a name.

Return Value

The generated name.

Exceptions

EngineException