public function getRootDse()
    {
        $query = $this->newQuery();

        $root = $query->in('')->read()->whereHas($this->schema->objectClass())->first();

        if ($root) {
            return (new RootDse([], $query))
                ->setRawAttributes($root->getAttributes());
        }
    }
public function getRootDse()
    {
        $query = $this->newQuery();

        $root = $query->in('')->read()->whereHas($this->schema->objectClass())->first();

        if ($root) {
            return (new RootDse([], $query))
                ->setRawAttributes($root->getAttributes());
        }
    }
public function getRootDse ( ) { $ query = $ this -> newQuery ( ) ; $ root = $ query -> in ( '' ) -> read ( ) -> whereHas ( $ this -> schema -> objectClass ( ) ) -> first ( ) ; if ( $ root ) { return ( new RootDse ( [ ] , $ query ) ) -> setRawAttributes ( $ root -> getAttributes ( ) ) ; } }
Returns the root DSE record.

@return RootDse|null
Returns the root DSE record .