Skip to content

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.

final class EloquentPlugin implements PluginInterface

ImplementsPluginInterface
SourceEloquentPlugin.php
MethodDescription
register(PluginRegistrar $registrar): voidRegisters eloquent as a database driver alias for EloquentDatabase.

public function register(PluginRegistrar $registrar): void

Registers eloquent as a database driver alias for EloquentDatabase.

ParameterTypeDescription
$registrarPluginRegistrar