Table of Contents
-
$EntityManager
: EntityManager
-
$devMode
: bool
-
$generateSchema
: bool
-
$modelLocations
: array<string|int, mixed>
-
addModelLocation()
: mixed
-
connect()
: EntityManager
-
createSchema()
: mixed
-
flush()
: mixed
-
getClasses()
: mixed
-
getEntityManager()
: mixed
-
getModelLocations()
: array<string|int, mixed>
-
init()
: Configuration
-
isAlive()
: mixed
-
isDevMode()
: bool
-
isGenerateSchema()
: bool
-
setDevMode()
: mixed
-
setEntityManager()
: mixed
-
setGenerateSchema()
: mixed
-
setModelLocations()
: mixed
-
updateSchema()
: mixed
$EntityManager
public
static EntityManager
$EntityManager
$devMode
private
static bool
$devMode
= false
$generateSchema
private
static bool
$generateSchema
= false
$modelLocations
private
static array<string|int, mixed>
$modelLocations
= []
addModelLocation()
public
static addModelLocation( $dir) : mixed
Parameters
-
$dir
:
-
Return values
mixed
—
connect()
public
static connect(array<string|int, mixed> $connection, Configuration $configuration) : EntityManager
Parameters
-
$connection
: array<string|int, mixed>
-
-
$configuration
: Configuration
-
Return values
EntityManager
—
createSchema()
public
static createSchema() : mixed
Return values
mixed
—
flush()
public
static flush([mixed $objs = [] ]) : mixed
Parameters
-
$objs
: mixed
= []
-
Return values
mixed
—
getClasses()
public
static getClasses() : mixed
Return values
mixed
—
getEntityManager()
public
static getEntityManager() : mixed
Return values
mixed
—
getModelLocations()
public
static getModelLocations() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
init()
public
static init() : Configuration
Return values
Configuration
—
isAlive()
public
static isAlive() : mixed
Return values
mixed
—
isDevMode()
public
static isDevMode() : bool
Return values
bool
—
isGenerateSchema()
public
static isGenerateSchema() : bool
Return values
bool
—
setDevMode()
public
static setDevMode(bool $devMode) : mixed
Parameters
-
$devMode
: bool
-
Return values
mixed
—
setEntityManager()
public
static setEntityManager(mixed $EntityManager) : mixed
Parameters
-
$EntityManager
: mixed
-
Return values
mixed
—
setGenerateSchema()
public
static setGenerateSchema(bool $generateSchema) : mixed
Parameters
-
$generateSchema
: bool
-
Return values
mixed
—
setModelLocations()
public
static setModelLocations(array<string|int, mixed> $modelLocations) : mixed
Parameters
-
$modelLocations
: array<string|int, mixed>
-
Return values
mixed
—
updateSchema()
public
static updateSchema() : mixed
Return values
mixed
—