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()]);
 }