objectClassGroup() public méthode

The group object class.
public objectClassGroup ( ) : string
Résultat string
Exemple #1
0
 /**
  * Returns the object class model class mapping.
  *
  * @return array
  */
 public function map()
 {
     return [$this->schema->objectClassComputer() => \Adldap\Models\Computer::class, $this->schema->objectClassContact() => \Adldap\Models\Contact::class, $this->schema->objectClassPerson() => \Adldap\Models\User::class, $this->schema->objectClassGroup() => \Adldap\Models\Group::class, $this->schema->objectClassContainer() => \Adldap\Models\Container::class, $this->schema->objectClassPrinter() => \Adldap\Models\Printer::class, $this->schema->objectClassOu() => \Adldap\Models\OrganizationalUnit::class];
 }
Exemple #2
0
 /**
  * Returns a query builder limited to groups.
  *
  * @return Builder
  */
 public function groups()
 {
     return $this->where([$this->schema->objectClass() => $this->schema->objectClassGroup()]);
 }