Skip to content

0.4.0

Compare
Choose a tag to compare
@quimcalpe quimcalpe released this 23 Nov 13:04
· 44 commits to master since this release

Enhancements:

  • new QuimCalpe\Router\Route\Route value object
  • Adapt constructor to receive an array of Route value objects. This allows to pass names to routes #4
  • Allow named routes to be defined as optional last parameter on all ->addXXX methods #5
  • Add findURI() method to resolve routes against a name #5

Deprecations:

  • Receiving an associative array is now deprecated, will be removed in 1.0

Internal changes:

  • Reformat minor glitches to conform PSR-2