Skip to content
Snippets Groups Projects

Rewrited Adapters and Connectors

Merged Pavel Vyskočil requested to merge github/fork/vyskocilpavel/Connectors into master
7 files
+ 149
81
Compare changes
  • Side-by-side
  • Inline
Files
7
+ 9
0
@@ -9,6 +9,15 @@ abstract class sspmod_perun_Adapter
@@ -9,6 +9,15 @@ abstract class sspmod_perun_Adapter
const RPC = 'rpc';
const RPC = 'rpc';
const LDAP = 'ldap';
const LDAP = 'ldap';
 
/**
 
* @var sspmod_perun_RpcConnector | sspmod_perun_LdapConnector
 
*/
 
protected $connector;
 
 
public function getConnector(){
 
return $this->connector;
 
}
 
/**
/**
* @param string $interface code of interface. Check constants of this class.
* @param string $interface code of interface. Check constants of this class.
* @return sspmod_perun_Adapter instance of this class. note it is NOT singleton.
* @return sspmod_perun_Adapter instance of this class. note it is NOT singleton.
Loading