LdapTools\Connection\RootDse::__construct PHP Method

__construct() public method

public __construct ( LdapTools\Connection\LdapConnectionInterface $connection, LdapTools\Event\EventDispatcherInterface $dispatcher )
$connection LdapTools\Connection\LdapConnectionInterface
$dispatcher LdapTools\Event\EventDispatcherInterface
    public function __construct(LdapConnectionInterface $connection, EventDispatcherInterface $dispatcher)
    {
        $this->connection = $connection;
        $this->dispatcher = $dispatcher;
        $cache = CacheFactory::get(CacheFactory::TYPE_NONE, []);
        $parser = SchemaParserFactory::get(SchemaParserFactory::TYPE_YML, self::SCHEMA_DIR);
        $this->schemaFactory = new LdapObjectSchemaFactory($cache, $parser, $dispatcher);
    }