move domain() and getUri() out of foreach loop
Support lowercase VERB name
Merge pull request #5267 from alprs/perf/RouteCollection-addToCollections

Move domain() and getUri() out of foreach loop
Update phpdocs for better chaining

Following the PSR-5 Proposal, chained methods should use `return $this`.
New instances should use `return static`. This way, when classes are
extended, they refer to the correct class.
[4.2] Router Docblock Fix
Merge pull request #5299 from barryvdh/return-this

[PHPDoc] Update phpdocs for better chaining (return $this)
[4.2] Router DocBlock Fixes