Adldap\Schemas\SchemaInterface::computer PHP Method

computer() public method

Used when constructing new Computer models.
public computer ( ) : string
return string
    public function computer();

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