DoctrinePlugin
Enables the doctrine (ORM) and doctrine_dbal (DBAL-only) driver aliases.
Add this class to the plugins config key to use them in databases.xml.
Extracts to quioteframework/quiote-doctrine unchanged.
Synopsis
Section titled “Synopsis”final class DoctrinePlugin implements PluginInterface
| Implements | PluginInterface |
| Source | DoctrinePlugin.php |
Methods
Section titled “Methods”| Method | Description |
|---|---|
register(PluginRegistrar $registrar): void | Registers both Doctrine driver aliases. |
register()
Section titled “register()”public function register(PluginRegistrar $registrar): void
Registers both Doctrine driver aliases.
doctrine maps to DoctrineDatabase (full ORM) and doctrine_dbal to DoctrineDbalDatabase (DBAL only).
| Parameter | Type | Description |
|---|---|---|
$registrar | PluginRegistrar |