Tell the user that they're an idiot in more helpful ways
[catagits/Reaction.git] / lib / Reaction / InterfaceModel / Collection / Persistent.pm
index d023a6c..ebf1fc9 100644 (file)
@@ -3,10 +3,14 @@ package Reaction::InterfaceModel::Collection::Persistent;
 use Reaction::Class;
 use aliased 'Reaction::InterfaceModel::Collection';
 
-class Persistent is Collection, which {
+use namespace::clean -except => [ qw(meta) ];
+extends Collection;
 
 
-};
+
+
+__PACKAGE__->meta->make_immutable;
+
 
 1;