Adldap\Models\Factory::setSchema PHP Method

setSchema() public method

Sets the current schema.
public setSchema ( Adldap\Schemas\SchemaInterface $schema = null ) : Factory
$schema Adldap\Schemas\SchemaInterface
return Factory
    public function setSchema(SchemaInterface $schema = null)
    {
        $this->schema = $schema ?: new ActiveDirectory();
        return $this;
    }