82b92aa53b
Adds a "COMPONENT" method to your Catalyst component base class that reads the optional traits parameter from app and component config and instantiates the component subclass with those traits using "new_with_traits" in MooseX::Traits from MooseX::Traits::Pluggable.
5 lines
267 B
Plaintext
5 lines
267 B
Plaintext
Adds a "COMPONENT" method to your Catalyst component base class that
|
|
reads the optional traits parameter from app and component config and
|
|
instantiates the component subclass with those traits using
|
|
"new_with_traits" in MooseX::Traits from MooseX::Traits::Pluggable.
|