ArangoDB-PHP-Core API Documentation
  • Namespace
  • Class
  • Deprecated

Namespaces

  • frankmayer
    • ArangoDbPhpCore
      • Api
        • Rest
      • Config
      • Connectors
      • Plugins
      • Protocols
        • Http
      • TraitRepository

Classes

  • Plugin
  • PluginManager
  • TestPlugin
  • TracerPlugin

Interfaces

  • PluginInterface

Class PluginManager

Class PluginManager

Namespace: frankmayer\ArangoDbPhpCore\Plugins
Package: frankmayer\ArangoDbPhpCore\Plugins
Located at Plugins/PluginManager.php

Methods summary

public
# __construct( $client, array $plugins = [], array $options = ['notificationsEnabled' => true] )

Parameters

$client
$plugins
$options
public boolean
# setPluginsFromPluginArray( null $plugins = null )

Parameters

$plugins

Returns

boolean

Throws

frankmayer\ArangoDbPhpCore\ClientException
public
# notifyPlugins( $eventName, array $eventData = [] )

Parameters

$eventName
$eventData
protected integer
# comparePluginPriorities( $a, $b )

Parameters

$a
$b

Returns

integer
public
# removePluginInstance( $instanceName )

Parameters

$instanceName

Properties summary

public array $pluginStorage

$pluginStorage The Storgate Array for the plugin instances. The array is already in the correct order.

$pluginStorage The Storgate Array for the plugin instances. The array is already in the correct order.

#
public frankmayer\ArangoDbPhpCore\Client $client

$client The instance of the client, for which this plugin-manager is doing its job.

$client The instance of the client, for which this plugin-manager is doing its job.

#
public array $options

$options Options passed to the plugin manager.

$options Options passed to the plugin manager.

#
ArangoDB-PHP-Core API Documentation API documentation generated by ApiGen