Menu

## ORM
in package

ORM.php : 11

### 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

### Properties

#### $EntityManager

ORM.php : 16
`public static EntityManager $EntityManager`

#### $devMode

ORM.php : 25
`private static bool $devMode = false`

#### $generateSchema

ORM.php : 29
`private static bool $generateSchema = false`

#### $modelLocations

ORM.php : 21
`private static array<string|int, mixed> $modelLocations = []`

### Methods

#### addModelLocation()

ORM.php : 98
`public static addModelLocation( $dir) : mixed`

##### Parameters

$dir :

##### Return values

mixed —

#### connect()

ORM.php : 62
`public static connect(array<string|int, mixed> $connection, Configuration $configuration) : EntityManager`

##### Parameters

$connection : array<string|int, mixed>
$configuration : Configuration

##### Return values

EntityManager —

#### createSchema()

ORM.php : 68
`public static createSchema() : mixed`

##### Return values

mixed —

#### flush()

ORM.php : 52
`public static flush([mixed $objs = [] ]) : mixed`

##### Parameters

$objs : mixed = []

##### Return values

mixed —

#### getClasses()

ORM.php : 39
`public static getClasses() : mixed`

##### Return values

mixed —

#### getEntityManager()

ORM.php : 106
`public static getEntityManager() : mixed`

##### Return values

mixed —

#### getModelLocations()

ORM.php : 122
`public static getModelLocations() : array<string|int, mixed>`

##### Return values

array<string|int, mixed> —

#### init()

ORM.php : 34
`public static init() : Configuration`

##### Return values

Configuration —

#### isAlive()

ORM.php : 90
`public static isAlive() : mixed`

##### Return values

mixed —

#### isDevMode()

ORM.php : 138
`public static isDevMode() : bool`

##### Return values

bool —

#### isGenerateSchema()

ORM.php : 154
`public static isGenerateSchema() : bool`

##### Return values

bool —

#### setDevMode()

ORM.php : 146
`public static setDevMode(bool $devMode) : mixed`

##### Parameters

$devMode : bool

##### Return values

mixed —

#### setEntityManager()

ORM.php : 114
`public static setEntityManager(mixed $EntityManager) : mixed`

##### Parameters

$EntityManager : mixed

##### Return values

mixed —

#### setGenerateSchema()

ORM.php : 162
`public static setGenerateSchema(bool $generateSchema) : mixed`

##### Parameters

$generateSchema : bool

##### Return values

mixed —

#### setModelLocations()

ORM.php : 130
`public static setModelLocations(array<string|int, mixed> $modelLocations) : mixed`

##### Parameters

$modelLocations : array<string|int, mixed>

##### Return values

mixed —

#### updateSchema()

ORM.php : 79
`public static updateSchema() : mixed`

##### Return values

mixed —

## Search results