public function register()
{
$this->app->singleton('xe.dynamicField', function ($app) {
/** @var \Xpressengine\Database\VirtualConnectionInterface $connection */
$connection = $app['xe.db']->connection();
$proxyClass = $app['xe.interception']->proxy(DynamicFieldHandler::class, 'DynamicField');
return new $proxyClass($connection, new ConfigHandler($connection, $app['xe.config']), new RegisterHandler($this->app['xe.pluginRegister']), $app['view']);
});
$this->app->singleton('xe.dynamicField.revision', function ($app) {
return new RevisionManager($app['xe.dynamicField']);
});
}