class QuickGeneratorConfig implements GeneratorConfigInterface
Methods
__construct() | ||
DataModelBuilder |
getConfiguredBuilder(Table $table, string $type)
Gets a configured data model builder class for specified table and based on type ('ddl', 'sql', etc.). |
|
PluralizerInterface |
getConfiguredPluralizer()
Returns a configured Pluralizer class. |
|
setBuildProperties(array|Traversable $props)
Parses the passed-in properties, renaming and saving eligible properties in this object. |
||
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 37
public
__construct()
at line 83
public DataModelBuilder
getConfiguredBuilder(Table $table, string $type)
Gets a configured data model builder class for specified table and based on type ('ddl', 'sql', etc.).
at line 97
public PluralizerInterface
getConfiguredPluralizer()
Returns a configured Pluralizer class.
at line 111
public
setBuildProperties(array|Traversable $props)
Parses the passed-in properties, renaming and saving eligible properties in this object.
Renames the propel.xxx properties to just xxx and renames any xxx.yyy
properties to xxxYyy as PHP doesn't like the xxx.yyy syntax.
at line 134
public mixed
getBuildProperty(string $name)
Returns a specific propel (renamed) property from the build.
at line 145
public
setBuildProperty(string $name, mixed $value)
Sets a specific propel (renamed) property from the build.
at line 153
public PlatformInterface
getConfiguredPlatform(ConnectionInterface $con = null, string $database = null)
Creates and configures a new Platform class.