class SchemaUpdater (View source)

SchemaUpdater.

Methods

__construct(EntityManager $entityManager, Kernel $kernel)

SchemaUpdater constructor.

clearMetadata()

No description

boolean
updateSchema(boolean $delete = false)

Update database schema.

Details

__construct(EntityManager $entityManager, Kernel $kernel)

SchemaUpdater constructor.

Parameters

EntityManager $entityManager
Kernel $kernel

clearMetadata()

boolean updateSchema(boolean $delete = false)

Update database schema.

Parameters

boolean $delete Enable DELETEĀ and DROP statements

Return Value

boolean