PHP Интерфейс Adldap\AdldapInterface

Показать файл Открыть проект

Открытые методы

Метод Описание
__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