Ticket #190 (closed enhancement: wontfix)

Opened 19 months ago

Last modified 19 months ago

Enable provider injection

Reported by: mikey Owned by: mikey
Priority: minor Milestone: 0.13.0
Component: InversionOfControl Version: SVN-trunk
Keywords: Cc:

Description (last modified by mikey) (diff)

The IoC container should allow provider injection, meaning that something like

class FooProvider implements stubInjectionProvider
    /**
     * @Inject
     * @Provider('my::concrete::Bar')
     */
    public function setBar(stubInjectionProvider $barProvider) { ... }
}

should work. Just an idea at this points, this needs further thoughts but should be noted so it is not forgotten.

This depends on #189.

Change History

Changed 19 months ago by mikey

  • description modified (diff)

Changed 19 months ago by mikey

  • milestone set to 0.13.0

Changed 19 months ago by mikey

  • status changed from new to closed
  • resolution set to wontfix

No usecase for now, maybe later.

Note: See TracTickets for help on using tickets.