The purpouse of this issue is implement the 7th recomendation of php standarts and the simmilar recomendations: 15,17 and 18.
With this implementation, we have a lot of changes on classes in HTTP namespace and a lot job to turn this reallity.
The 7, 15 and 17 are improvement to padronize the Request that framework receive and padronize the Response that framework give.
The 18 are feature to padronize Request that framework give.
Note:
The framework will able to receive AND give a Request an give AND receive a Response.
When the framework RECEIVE Request, they GIVE Response.
Also GIVE Request, they RECEIVE Response.
The first case, the framework is the owner of information. (RequestInterface)
The second case, the framework is needed information of any owner. (ServerRequestInterface)
Im explain this cases that more understandable the difference between the RequestInterface and ServerRequestInterface.
The purpouse of this issue is implement the 7th recomendation of php standarts and the simmilar recomendations: 15,17 and 18.
With this implementation, we have a lot of changes on classes in HTTP namespace and a lot job to turn this reallity.
The 7, 15 and 17 are improvement to padronize the Request that framework receive and padronize the Response that framework give.
The 18 are feature to padronize Request that framework give.
Note: The framework will able to receive AND give a Request an give AND receive a Response. When the framework RECEIVE Request, they GIVE Response. Also GIVE Request, they RECEIVE Response.
The first case, the framework is the owner of information. (RequestInterface) The second case, the framework is needed information of any owner. (ServerRequestInterface)
Im explain this cases that more understandable the difference between the RequestInterface and ServerRequestInterface.