Propel 2 API
Interface

Propel\Generator\Config\GeneratorConfigInterface

interface GeneratorConfigInterface

Methods

DataModelBuilder getConfiguredBuilder(Table $table, string $type)

Returns a configured data model builder class for specified table and based on type ('ddl', 'sql', etc.).

PluralizerInterface getConfiguredPluralizer()

Returns a configured Pluralizer class.

mixed getBuildProperty(string $name)

Returns a specific propel (renamed) property from the build.

setBuildProperty(string $name, mixed $value)

Sets a specific propel (renamed) property from the build.

PlatformInterface getConfiguredPlatform(ConnectionInterface $con = null, string $database = null)

Creates and configures a new Platform class.

Details

at line 29
public DataModelBuilder getConfiguredBuilder(Table $table, string $type)

Returns a configured data model builder class for specified table and based on type ('ddl', 'sql', etc.).

Parameters

Table $table
string $type

Return Value

DataModelBuilder

at line 36
public PluralizerInterface getConfiguredPluralizer()

Returns a configured Pluralizer class.

Return Value

PluralizerInterface

at line 44
public mixed getBuildProperty(string $name)

Returns a specific propel (renamed) property from the build.

Parameters

string $name

Return Value

mixed

at line 52
public setBuildProperty(string $name, mixed $value)

Sets a specific propel (renamed) property from the build.

Parameters

string $name
mixed $value

at line 61
public PlatformInterface getConfiguredPlatform(ConnectionInterface $con = null, string $database = null)

Creates and configures a new Platform class.

Parameters

ConnectionInterface $con
string $database

Return Value

PlatformInterface