if (
$class->debug and
- my @comps_types = $class->container->get_components_types
+ my @comps_names_types = $class->container->get_components_names_types
) {
my $column_width = Catalyst::Utils::term_width() - 8 - 9;
my $t = Text::SimpleTable->new( [ $column_width, 'Class' ], [ 8, 'Type' ] );
- $t->row( @$_ ) for @comps_types;
+ $t->row( @$_ ) for @comps_names_types;
$class->log->debug( "Loaded components:\n" . $t->draw . "\n" );
}
my $container = $container_class->new( %args, application_name => "$class", name => "$class" );
$class->container($container);
- my $config = $container->resolve(service => 'config');
+ my $config = $container->resolve( service => 'config' );
$class->config($config);
$class->finalize_config; # back-compat
}