Adldap\Schemas\SchemaInterface::objectClass PHP Method

objectClass() public method

The list of classes from which this class is derived.
public objectClass ( ) : string
return string
    public function objectClass();

Usage Example

Example #1
0
 /**
  * Returns the root DSE record.
  *
  * @return RootDse|null
  */
 public function getRootDse()
 {
     $root = $this->query->newInstance()->setDn(null)->read(true)->whereHas($this->schema->objectClass())->first();
     if ($root instanceof Model) {
         return (new RootDse([], $this->query))->setRawAttributes($root->getAttributes());
     }
 }
All Usage Examples Of Adldap\Schemas\SchemaInterface::objectClass
SchemaInterface