Add setup_finalize as an easy way to hook at the end of setup.
[catagits/Catalyst-Runtime.git] / lib / Catalyst.pm
index e581ba1..7cc3184 100644 (file)
@@ -1047,6 +1047,11 @@ EOF
         $meta->make_immutable unless $meta->is_immutable;
     }, Scope::Upper::SCOPE(1));
 
+    $class->setup_finalize;
+}
+
+sub setup_finalize {
+    my ($class) = @_;
     $class->setup_finished(1);
 }