Skip to content

Commit

Permalink
Adding new interfaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
maximkott committed Sep 14, 2016
1 parent 4e78e6b commit ed7dd58
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Weew/Http/IUnHttpRequestable.php
@@ -0,0 +1,12 @@
<?php

namespace Weew\Http;

interface IUnHttpRequestable {
/**
* @param IHttpRequest $request
*
* @return mixed
*/
static function fromHttpRequest(IHttpRequest $request);
}
12 changes: 12 additions & 0 deletions src/Weew/Http/IUnHttpResponseable.php
@@ -0,0 +1,12 @@
<?php

namespace Weew\Http;

interface IUnHttpResponseable {
/**
* @param IHttpResponse $response
*
* @return mixed
*/
static function fromHttpResponse(IHttpResponse $response);
}

0 comments on commit ed7dd58

Please sign in to comment.