Adldap\Models\Factory::setSchema PHP Метод

setSchema() публичный Метод

Sets the current schema.
public setSchema ( Adldap\Schemas\SchemaInterface $schema = null ) : Factory
$schema Adldap\Schemas\SchemaInterface
Результат Factory
    public function setSchema(SchemaInterface $schema = null)
    {
        $this->schema = $schema ?: new ActiveDirectory();
        return $this;
    }