return Debbugs::Collection::Correspondent->new($self->has_schema?(schema => $self->schema):());
}
+has 'users' =>
+ (is => 'ro',
+ isa => 'ArrayRef[Debbugs::User]',
+ traits => ['Array'],
+ default => sub {[]},
+ handles => {'add_user' => 'push'},
+ );
+
sub BUILD {
my $self = shift;
my $args = shift;
schema => $schema,
package_collection =>
$self->package_collection->universe,
+ bug_collection =>
+ $self->universe,
correspondent_collection =>
$self->correspondent_collection->universe,
@{$args{constructor_args}//[]},
Debbugs::Bug->new(bug => $bug,
package_collection =>
$self->package_collection->universe,
+ bug_collection =>
+ $self->universe,
correspondent_collection =>
$self->correspondent_collection->universe,
@{$args{constructor_args}//[]},