public function computer(array $attributes = [])
    {
        $model = $this->schema->computerModel();

        return (new $model($attributes, $this->query))
            ->setAttribute($this->schema->objectClass(), [
                $this->schema->top(),
                $this->schema->person(),
                $this->schema->organizationalPerson(),
                $this->schema->user(),
                $this->schema->computer(),
            ]);
    }
public function computer(array $attributes = [])
    {
        $model = $this->schema->computerModel();

        return (new $model($attributes, $this->query))
            ->setAttribute($this->schema->objectClass(), [
                $this->schema->top(),
                $this->schema->person(),
                $this->schema->organizationalPerson(),
                $this->schema->user(),
                $this->schema->computer(),
            ]);
    }
public function computer ( array $ attributes = [ ] ) { $ model = $ this -> schema -> computerModel ( ) ; return ( new $ model ( $ attributes , $ this -> query ) ) -> setAttribute ( $ this -> schema -> objectClass ( ) , [ $ this -> schema -> top ( ) , $ this -> schema -> person ( ) , $ this -> schema -> organizationalPerson ( ) , $ this -> schema -> user ( ) , $ this -> schema -> computer ( ) , ] ) ; }
Creates a new computer instance.

@param array $attributes

@return Computer
Creates a new computer instance .