Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\Connection\ConnectionManager Class Reference

Public Member Functions

 getConnection ( $id=null)
 
 releaseConnections ()
 
 registerConnectionProvider ( $id, ConnectionProvider $connectionProvider)
 
 registerCallbackConnection ( $id, callable $callback)
 

Detailed Description

GNU GPL v2+

Since
2.1
Author
mwjames

Member Function Documentation

◆ getConnection()

SMW\Connection\ConnectionManager::getConnection (   $id = null)
Since
2.1
Parameters
string | null$id
Returns
mixed
Exceptions
RuntimeException

◆ registerCallbackConnection()

SMW\Connection\ConnectionManager::registerCallbackConnection (   $id,
callable  $callback 
)
Since
3.0
Parameters
string$id
callable$callback

◆ registerConnectionProvider()

SMW\Connection\ConnectionManager::registerConnectionProvider (   $id,
ConnectionProvider  $connectionProvider 
)
Since
2.1
Parameters
string$id
ConnectionProvider$connectionProvider

◆ releaseConnections()

SMW\Connection\ConnectionManager::releaseConnections ( )
Since
2.1

The documentation for this class was generated from the following file:

About | General disclaimer | Privacy policy