PHP 인터페이스 Adldap\AdldapInterface

파일 보기 프로젝트 열기: adldap2/adldap2

공개 메소드들

메소드 설명
__call ( string $method, array $parameters ) : mixed Call methods upon the default provider dynamically.
addProvider ( Adldap\Connections\ProviderInterface | array $configuration = [], string $name, Adldap\Connections\ConnectionInterface $connection = null, Adldap\Schemas\SchemaInterface $schema = null ) : adldap\AdldapInterface Add a provider by the specified name.
connect ( string | null $name = null, string | null $username = null, string | null $password = null ) : Adldap\Connections\ProviderInterface Connects to the specified provider.
getDefaultProvider ( ) : Adldap\Connections\ProviderInterface Retrieves the first provider.
getProvider ( string $name ) : Adldap\Connections\ProviderInterface Retrieves a Provider using it's specified name.
getProviders ( ) : array Returns all of the connection providers.
removeProvider ( string $name ) : adldap\AdldapInterface Removes a provider by the specified name.
setDefaultProvider ( string $name ) Sets the default provider.

메소드 상세

__call() 공개 메소드

Call methods upon the default provider dynamically.
public __call ( string $method, array $parameters ) : mixed
$method string
$parameters array
리턴 mixed

addProvider() 공개 메소드

Add a provider by the specified name.
public addProvider ( Adldap\Connections\ProviderInterface | array $configuration = [], string $name, Adldap\Connections\ConnectionInterface $connection = null, Adldap\Schemas\SchemaInterface $schema = null ) : adldap\AdldapInterface
$configuration Adldap\Connections\ProviderInterface | array
$name string
$connection Adldap\Connections\ConnectionInterface
$schema Adldap\Schemas\SchemaInterface
리턴 adldap\AdldapInterface

connect() 공개 메소드

If no username and password is given, then providers configured admin credentials are used.
public connect ( string | null $name = null, string | null $username = null, string | null $password = null ) : Adldap\Connections\ProviderInterface
$name string | null
$username string | null
$password string | null
리턴 Adldap\Connections\ProviderInterface

getDefaultProvider() 공개 메소드

Retrieves the first provider.
public getDefaultProvider ( ) : Adldap\Connections\ProviderInterface
리턴 Adldap\Connections\ProviderInterface

getProvider() 공개 메소드

Retrieves a Provider using it's specified name.
public getProvider ( string $name ) : Adldap\Connections\ProviderInterface
$name string
리턴 Adldap\Connections\ProviderInterface

getProviders() 공개 메소드

Returns all of the connection providers.
public getProviders ( ) : array
리턴 array

removeProvider() 공개 메소드

Removes a provider by the specified name.
public removeProvider ( string $name ) : adldap\AdldapInterface
$name string
리턴 adldap\AdldapInterface

setDefaultProvider() 공개 메소드

Sets the default provider.
public setDefaultProvider ( string $name )
$name string