EloquentPlugin
Enables the eloquent database driver alias.
Add this class to the plugins config key to write class="eloquent" in databases.xml.
When the adapters are extracted into standalone composer packages, this plugin (and its adapter) move to quioteframework/quiote-eloquent unchanged.
Synopsis
Section titled “Synopsis”final class EloquentPlugin implements PluginInterface
| Implements | PluginInterface |
| Source | EloquentPlugin.php |
Methods
Section titled “Methods”| Method | Description |
|---|---|
register(PluginRegistrar $registrar): void | Registers eloquent as a database driver alias for EloquentDatabase. |
register()
Section titled “register()”public function register(PluginRegistrar $registrar): void
Registers eloquent as a database driver alias for EloquentDatabase.
| Parameter | Type | Description |
|---|---|---|
$registrar | PluginRegistrar |