Propel 2 API
Class

Propel\Generator\Util\QuickBuilder

class QuickBuilder

Methods

setSchema($schema)

setPlatform(PlatformInterface $platform)

Setter for the platform property

PlatformInterface getPlatform()

Getter for the platform property

setConfig(GeneratorConfigInterface $config)

Setter for the config property

GeneratorConfigInterface getConfig()

Getter for the config property

static  buildSchema($schema, $dsn = null, $user = null, $pass = null, $adapter = null)

build($dsn = null, $user = null, $pass = null, $adapter = null, array $classTargets = null)

getDatabase()

buildSQL(ConnectionInterface $con)

getSQL()

getBuildName($classTargets = null)

buildClasses(array $classTargets = null)

getClasses(array $classTargets = null)

getClassesForTable(Table $table, array $classTargets = null)

static  debugClassesForTable($schema, $tableName)

fixNamespaceDeclarations($source)

Details

at line 29
public setSchema($schema)

Parameters

$schema

at line 39
public setPlatform(PlatformInterface $platform)

Setter for the platform property

Parameters

PlatformInterface $platform

at line 49
public PlatformInterface getPlatform()

Getter for the platform property

Return Value

PlatformInterface

at line 63
public setConfig(GeneratorConfigInterface $config)

Setter for the config property

Parameters

GeneratorConfigInterface $config

at line 73
public GeneratorConfigInterface getConfig()

Getter for the config property

at line 82
static public buildSchema($schema, $dsn = null, $user = null, $pass = null, $adapter = null)

Parameters

$schema
$dsn
$user
$pass
$adapter

at line 90
public build($dsn = null, $user = null, $pass = null, $adapter = null, array $classTargets = null)

Parameters

$dsn
$user
$pass
$adapter
array $classTargets

at line 113
public getDatabase()

at line 125
public buildSQL(ConnectionInterface $con)

Parameters

ConnectionInterface $con

at line 143
public getSQL()

at line 148
public getBuildName($classTargets = null)

Parameters

$classTargets

at line 165
public buildClasses(array $classTargets = null)

Parameters

array $classTargets

at line 175
public getClasses(array $classTargets = null)

Parameters

array $classTargets

at line 185
public getClassesForTable(Table $table, array $classTargets = null)

Parameters

Table $table
array $classTargets

at line 236
static public debugClassesForTable($schema, $tableName)

Parameters

$schema
$tableName

at line 250
public fixNamespaceDeclarations($source)

Parameters

$source

See also

https://github.com/symfony/symfony/blob/master/src/Symfony/Component/ClassLoader/ClassCollectionLoader.php