PHP Class Adldap\Connections\Provider

Inheritance: implements Adldap\Connections\ProviderInterface
Afficher le fichier Open project: adldap2/adldap2 Class Usage Examples

Protected Properties

Свойство Type Description
$configuration Adldap\Configuration\DomainConfiguration The providers configuration.
$connection Adldap\Connections\ConnectionInterface The providers connection.
$guard Adldap\Auth\GuardInterface The providers auth guard instance.
$schema Adldap\Schemas\SchemaInterface The providers schema.

Méthodes publiques

Méthode Description
__construct ( $configuration = [], Adldap\Connections\ConnectionInterface $connection = null, Adldap\Schemas\SchemaInterface $schema = null )
__destruct ( )
auth ( )
connect ( $username = null, $password = null )
getConfiguration ( )
getConnection ( )
getDefaultGuard ( Adldap\Connections\ConnectionInterface $connection, DomainConfiguration $configuration )
getGuard ( )
getSchema ( )
make ( )
search ( )
setConfiguration ( $configuration = [] )
setConnection ( Adldap\Connections\ConnectionInterface $connection = null )
setGuard ( Adldap\Auth\GuardInterface $guard )
setSchema ( Adldap\Schemas\SchemaInterface $schema = null )

Méthodes protégées

Méthode Description
newModelFactory ( Builder $builder, Adldap\Schemas\SchemaInterface $schema ) : Factory Creates a new model factory.
newSearchFactory ( Adldap\Connections\ConnectionInterface $connection, Adldap\Schemas\SchemaInterface $schema, string $baseDn ) : Factory Creates a new search factory.
prepareConnection ( ) : void Prepares the connection by setting configured parameters.

Method Details

__construct() public méthode

public __construct ( $configuration = [], Adldap\Connections\ConnectionInterface $connection = null, Adldap\Schemas\SchemaInterface $schema = null )
$connection Adldap\Connections\ConnectionInterface
$schema Adldap\Schemas\SchemaInterface

__destruct() public méthode

public __destruct ( )

auth() public méthode

public auth ( )

connect() public méthode

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

getConfiguration() public méthode

public getConfiguration ( )

getConnection() public méthode

public getConnection ( )

getDefaultGuard() public méthode

public getDefaultGuard ( Adldap\Connections\ConnectionInterface $connection, DomainConfiguration $configuration )
$connection Adldap\Connections\ConnectionInterface
$configuration Adldap\Configuration\DomainConfiguration

getGuard() public méthode

public getGuard ( )

getSchema() public méthode

public getSchema ( )

make() public méthode

public make ( )

newModelFactory() protected méthode

Creates a new model factory.
protected newModelFactory ( Builder $builder, Adldap\Schemas\SchemaInterface $schema ) : Factory
$builder Adldap\Query\Builder
$schema Adldap\Schemas\SchemaInterface
Résultat Adldap\Models\Factory

newSearchFactory() protected méthode

Creates a new search factory.
protected newSearchFactory ( Adldap\Connections\ConnectionInterface $connection, Adldap\Schemas\SchemaInterface $schema, string $baseDn ) : Factory
$connection Adldap\Connections\ConnectionInterface
$schema Adldap\Schemas\SchemaInterface
$baseDn string
Résultat Adldap\Search\Factory

prepareConnection() protected méthode

Prepares the connection by setting configured parameters.
protected prepareConnection ( ) : void
Résultat void

setConfiguration() public méthode

public setConfiguration ( $configuration = [] )

setConnection() public méthode

public setConnection ( Adldap\Connections\ConnectionInterface $connection = null )
$connection Adldap\Connections\ConnectionInterface

setGuard() public méthode

public setGuard ( Adldap\Auth\GuardInterface $guard )
$guard Adldap\Auth\GuardInterface

setSchema() public méthode

public setSchema ( Adldap\Schemas\SchemaInterface $schema = null )
$schema Adldap\Schemas\SchemaInterface

Property Details

$configuration protected_oe property

The providers configuration.
protected DomainConfiguration,Adldap\Configuration $configuration
Résultat Adldap\Configuration\DomainConfiguration

$connection protected_oe property

The providers connection.
protected ConnectionInterface,Adldap\Connections $connection
Résultat Adldap\Connections\ConnectionInterface

$guard protected_oe property

The providers auth guard instance.
protected GuardInterface,Adldap\Auth $guard
Résultat Adldap\Auth\GuardInterface

$schema protected_oe property

The providers schema.
protected SchemaInterface,Adldap\Schemas $schema
Résultat Adldap\Schemas\SchemaInterface