Documentation

ORMSetup
in package

FinalYes

Table of Contents

Methods

createAnnotationMetadataConfiguration()  : Configuration
Creates a configuration with an annotation metadata driver.
createAttributeMetadataConfiguration()  : Configuration
Creates a configuration with an attribute metadata driver.
createConfiguration()  : Configuration
Creates a configuration without a metadata driver.
createDefaultAnnotationDriver()  : AnnotationDriver
Adds a new default annotation driver with a correctly configured annotation reader.
createXMLMetadataConfiguration()  : Configuration
Creates a configuration with an XML metadata driver.
createYAMLMetadataConfiguration()  : Configuration
Creates a configuration with a YAML metadata driver.
__construct()  : mixed
createCacheInstance()  : CacheItemPoolInterface

Methods

createAnnotationMetadataConfiguration()

Creates a configuration with an annotation metadata driver.

public static createAnnotationMetadataConfiguration(array<string|int, string> $paths[, bool $isDevMode = false ][, string|null $proxyDir = null ][, CacheItemPoolInterface|null $cache = null ]) : Configuration
Parameters
$paths : array<string|int, string>
$isDevMode : bool = false
$proxyDir : string|null = null
$cache : CacheItemPoolInterface|null = null
Tags
deprecated

Use another mapping driver.

Return values
Configuration

createAttributeMetadataConfiguration()

Creates a configuration with an attribute metadata driver.

public static createAttributeMetadataConfiguration(array<string|int, string> $paths[, bool $isDevMode = false ][, string|null $proxyDir = null ][, CacheItemPoolInterface|null $cache = null ]) : Configuration
Parameters
$paths : array<string|int, string>
$isDevMode : bool = false
$proxyDir : string|null = null
$cache : CacheItemPoolInterface|null = null
Return values
Configuration

createDefaultAnnotationDriver()

Adds a new default annotation driver with a correctly configured annotation reader.

public static createDefaultAnnotationDriver([array<string|int, string> $paths = [] ][, CacheItemPoolInterface|null $cache = null ]) : AnnotationDriver
Parameters
$paths : array<string|int, string> = []
$cache : CacheItemPoolInterface|null = null
Tags
deprecated

Use another mapping driver.

Return values
AnnotationDriver

createXMLMetadataConfiguration()

Creates a configuration with an XML metadata driver.

public static createXMLMetadataConfiguration(array<string|int, string> $paths[, bool $isDevMode = false ][, string|null $proxyDir = null ][, CacheItemPoolInterface|null $cache = null ][, bool $isXsdValidationEnabled = false ]) : Configuration
Parameters
$paths : array<string|int, string>
$isDevMode : bool = false
$proxyDir : string|null = null
$cache : CacheItemPoolInterface|null = null
$isXsdValidationEnabled : bool = false
Return values
Configuration

createYAMLMetadataConfiguration()

Creates a configuration with a YAML metadata driver.

public static createYAMLMetadataConfiguration(array<string|int, string> $paths[, bool $isDevMode = false ][, string|null $proxyDir = null ][, CacheItemPoolInterface|null $cache = null ]) : Configuration
Parameters
$paths : array<string|int, string>
$isDevMode : bool = false
$proxyDir : string|null = null
$cache : CacheItemPoolInterface|null = null
Tags
deprecated

YAML metadata mapping is deprecated and will be removed in 3.0

Return values
Configuration

__construct()

private __construct() : mixed

        
On this page

Search results