Adldap\Schemas\SchemaInterface::top PHP Method

top() public method

The top level class from which all classes are derived.
public top ( ) : string
return string
    public function top();

Usage Example

Example #1
0
 /**
  * Creates a new computer instance.
  *
  * @param array $attributes
  *
  * @return Computer
  */
 public function computer(array $attributes = [])
 {
     return (new Computer($attributes, $this->query))->setAttribute($this->schema->objectClass(), [$this->schema->top(), $this->schema->person(), $this->schema->organizationalPerson(), $this->schema->user(), $this->schema->computer()]);
 }
SchemaInterface