Remove Registry pattern and start create the get method class
Create phrases.xml to storage quotes and write more testes for Router class
Remove Slash bar of setURI method, remove getPhraseSlug method and modify visibility of takePhraseRequired() to public, modify name of method type to httpMethodTypeRequested and variable types to availableTypes
Modify name of call method of type to httpMethodTypeRequested
Add BadRequest Class and normalization of the behavior of reset request

- Create the BadRequest Class
- Throw a error if any method not allowed of request is requered
- Modify the GET method like standart to HTTP Error in Router
Modify structure of request/response and refactory on testes

- Rename file requesttypes.php to ...http/allowedtypesrequested.php and modify the attributes to constants of class, this make more sense.
- Move file badrequest.php to ...http/response.php and modify the call of class response.
- Refactory on testes, create a dataprovider to make its data reusable.
Create tests for method setURI of class Router

- Create test to certify if the method setURI of class \Phrases\Router can storage the values passed correctly
- Create a depends realtion between the testClassRouterCanStorageURICorrectly  and testRouterClassCanReturnSlugRequiredCorrectly tests
Add Enum\Validation Class and removal of data types not allowed

- Create the class Enum\Validation to simulate a Enum behavior. Initially used in the validation of allowed HTTP methods.
- Remove array declaration from Phrases\Services\Router Class, and substitute by Enum\Validation with the values of HTTP\AllowedTypesRequested
- Create Testes for Enum\Validation class.
- Add use of Phrases\HTTP and Phrases\Enum on Router Class.
Add Factory to create HTTP Response to each Verb

- Create a class in Phrases\HTTP\Verbs\Factory to create the classes to each Verb Allowed
- Add a call to new Factory created on Router class
- Modify keyword "false" of method takePhraseRequired() to lowercase (PSR)
- Create the classes without implementation: GET, POST and PUT
- Create Test for Factory
Implemente the GET class

- Create the implementation of \Phrases\HTTP\Verbs\GET class
- Create unit testes referer to GET class
- Modify factoryTest to declare constant BASE_DIR if is not defined yet
Create a Facade on Phrase\Reader\Phrase to reader phrases

- Create a interface to centralize all requirements of phrases. It's possible by Facade implemented on Phrase\Reader\Phrase
- Create Unit test for this
- In add, create a BASE constant in index File
- Fix the identation on Phrases/Http/Verbs/Get.php by follow PSR-1/2
Create a Xml reader read and response a request

- Remove all responsabilities of Phrases\Http\Verbs\Get
- Reader\Xml now can read a xml and mount a response for this
- In Phrases\Server was added a parameters with the name of file to
  consult (Dependence Injection)
- On class Http\Response was created a static method to modify content-type
  and encodes
- Router has a new method to set file to Consultings called
  fileToConsult and it works as a "setter"
Create method URI() on Router Class, it's now is more flexible

- Modify index.php file to use uri method to set a MATCH uri
- Router now is more flexible to uri's
- Add dispatch method to send requests to the browser
- The Router::httpMethodTypeRequested() now return the self object (fluent interface)
Modify response as XML

- On index.php, modify the url match from 'joker' to 'quote'
- On Reader\Xml create the method '_throwError()' to send HTTP error
  message and response as XML
- On Services\Router rename the method httpMethodResquestVerb() to
  httpVerb()
- Remove the call for this method on Phrases\Server and replace to
  httpVerb
Create method URI() on Router Class, it's now is more flexible

- Modify index.php file to use uri method to set a MATCH uri
- Router now is more flexible to uri's
- Add dispatch method to send requests to the browser
- The Router::httpMethodTypeRequested() now return the self object (fluent interface)

Modify response as XML

- On index.php, modify the url match from 'joker' to 'quote'
- On Reader\Xml create the method '_throwError()' to send HTTP error
  message and response as XML
- On Services\Router rename the method httpMethodResquestVerb() to
  httpVerb()
- Remove the call for this method on Phrases\Server and replace to
  httpVerb
Merge branch 'getmethod' of https://github.com/malukenho/phrases into getmethod
Create a interface to HTTP Verbs

To make all verbs have a single interface to access data (methods), the
creation of `VerbInterface` interface was required to declare only one
action to be taken, which can be implemented for each verb.

In `HTTP\Verb\Get` class has implemented the `action()` method and is
available for use in `Router`.
Class router manage URL routes and delegate Request

- The class router now is more simple and take a unique responsability.
  Delegate router to be executed/trated to other class. The Router Class
  receive a array with the url matches on method constructor, it need to
  be a array where yours keys are regex and values are classe name. This
  instance of route will be passed to Server Object on yours construct.

  A class with you need to be used as router, must be implement the VERB
  HTTP when you want to response... For example, if you need response
  a GET Request write anything like ResponseClass::GET(), if you need
  response POST to, could implement the other method in same class with
  name ResponseClass::POST().

  Any files not used are removed in this commit too :3