Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

Ray.Di v2

  • BC Break ?
  • Parameter injection in v2.x ?

BEAR.Sunday 1.0alpha

  • min
  • MinPackage (router + resource + json)

current

module:

<?php
new AppModule($context)

context: 'prod', or 'api'

poposal

module:

<?php
new ProdModule(new HtmlModule(new AppModule)

context: 'prod-html', 'dev-hal'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment