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

Public Member Functions

 __construct (array $connectionProviders)
 
 hasConnection ( $key)
 
 getConnection ( $key)
 
 releaseConnections ()
 

Detailed Description

GNU GPL v2+

Since
3.0
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\Connection\ConnRef::__construct ( array  $connectionProviders)
Since
3.0
Parameters
array$connectionProviders

Member Function Documentation

◆ getConnection()

SMW\Connection\ConnRef::getConnection (   $key)
Since
3.0
Parameters
string$key
Returns
ConnectionProvider
Exceptions
RuntimeException

◆ hasConnection()

SMW\Connection\ConnRef::hasConnection (   $key)
Since
3.0
Parameters
string$key
Returns
boolean

◆ releaseConnections()

SMW\Connection\ConnRef::releaseConnections ( )
Since
3.0

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

About | General disclaimer | Privacy policy