Propel 2 API
Class

Propel\Generator\Model\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 string generateName(string $algorithmName, array $inputs)

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

Details

at line 65
static public string 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

string The generated name.

Exceptions

EngineException