[Corona] Add WebRequestParser class

Review Request #294 — Created April 17, 2014 and submitted

pprkut
Lunr
master
297
lunr
This is the advent of the new style request handling in Lunr. The existing Request class will be split in parsing and reading parts, where the reading parts stay as Request class, and the parsing parts move into dedicated RequestParser classes.

The goal is to make the reading rather generic, so extending it should only be necessary in corner cases, and request data parsing can be customized by implementing the RequestParserInterface, or extending an existing RequestParser class.

Compliance can be tested by using the RequestParserRequestTestTrait.
Unit tests
  • 0
  • 0
  • 2
  • 0
  • 2
Description From Last Updated
leo
  1. 
      
  2. src/Lunr/Corona/RequestParserInterface.php (Diff revision 1)
     
     
     
     
     
     
     
     
     
    Does that documentation correspond to the function signature below?
  3. src/Lunr/Corona/WebRequestParser.php (Diff revision 1)
     
     
    Shouldn't this class implement the RequestParserInterface?
  4. src/Lunr/Corona/WebRequestParser.php (Diff revision 1)
     
     
     
     
     
     
     
     
     
     
    here as well
  5. 
      
pprkut
pprkut
dinos
  1. Ship It!
  2. 
      
pprkut
Review request changed

Status: Closed (submitted)

Change Summary:

Merged into master
Loading...