MooX-PluginKit
    
    
  
  
  
view release on metacpan or search on metacpan
lib/MooX/PluginKit/Consumer.pm view on Meta::CPAN
    return;
}
=head2 has_pluggable_object
    has_pluggable_object foo_bar => (
        class => 'Foo::Bar',
    );
This function acts like L<Moo/has> but adds a bunch of functionality,
making it easy to cascade the creation of objects which automatically
have applicable plugins applied to them, at run-time.
In the above C<foo_bar> example, the user of your class can then specify
the C<foo_bar> argument as a hashref.  This hashref will be used to
create an object of the C<Foo::Bar> class, but not until after any
applicable plugins set on the consumer class have been applied to it.
Documented below are the L<Moo/has> argument which are supported as well
as several custom arguments (like C<class>, above).
( run in 0.581 second using v1.01-cache-2.11-cpan-5dc5da66d9d )