PHP Class Adldap\Adldap

Inheritance: implements Adldap\Contracts\Adldap
Exibir arquivo Open project: adldap2/adldap2 Class Usage Examples

Protected Properties

Property Type Description
$default string The default provider name.
$providers array The connection providers.

Public Methods

Method Description
__call ( $method, $parameters )
__construct ( array $providers = [] )
addProvider ( $configuration = [], $name = 'default', Adldap\Connections\ConnectionInterface $connection = null, Adldap\Schemas\SchemaInterface $schema = null )
connect ( $name = null, $username = null, $password = null )
getDefaultProvider ( )
getProvider ( $name )
getProviders ( )
removeProvider ( $name )
setDefaultProvider ( $name = 'default' )

Method Details

__call() public method

public __call ( $method, $parameters )

__construct() public method

public __construct ( array $providers = [] )
$providers array

addProvider() public method

public addProvider ( $configuration = [], $name = 'default', Adldap\Connections\ConnectionInterface $connection = null, Adldap\Schemas\SchemaInterface $schema = null )
$connection Adldap\Connections\ConnectionInterface
$schema Adldap\Schemas\SchemaInterface

connect() public method

public connect ( $name = null, $username = null, $password = null )

getDefaultProvider() public method

public getDefaultProvider ( )

getProvider() public method

public getProvider ( $name )

getProviders() public method

public getProviders ( )

removeProvider() public method

public removeProvider ( $name )

setDefaultProvider() public method

public setDefaultProvider ( $name = 'default' )

Property Details

$default protected_oe property

The default provider name.
protected string $default
return string

$providers protected_oe property

The connection providers.
protected array $providers
return array