-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
96 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
<?php | ||
/** | ||
* Slim Framework (http://slimframework.com) | ||
* | ||
* @link https://github.com/slimphp/Slim | ||
* @copyright Copyright (c) 2011-2015 Josh Lockhart | ||
* @license https://github.com/slimphp/Slim/blob/3.x/LICENSE.md (MIT License) | ||
*/ | ||
namespace Slim\Http; | ||
|
||
/** | ||
* Body | ||
* | ||
* This class represents an HTTP message body and encapsulates a | ||
* streamable resource according to the PSR-7 standard. | ||
* | ||
* @link https://github.com/php-fig/http-message/blob/master/src/StreamInterface.php | ||
*/ | ||
class Body extends Stream | ||
{ | ||
|
||
} | ||
<?php | ||
/** | ||
* Slim Framework (http://slimframework.com) | ||
* | ||
* @link https://github.com/slimphp/Slim | ||
* @copyright Copyright (c) 2011-2015 Josh Lockhart | ||
* @license https://github.com/slimphp/Slim/blob/3.x/LICENSE.md (MIT License) | ||
*/ | ||
namespace Slim\Http; | ||
|
||
/** | ||
* Body | ||
* | ||
* This class represents an HTTP message body and encapsulates a | ||
* streamable resource according to the PSR-7 standard. | ||
* | ||
* @link https://github.com/php-fig/http-message/blob/master/src/StreamInterface.php | ||
*/ | ||
class Body extends Stream | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
<?php | ||
/** | ||
* Slim Framework (http://slimframework.com) | ||
* | ||
* @link https://github.com/slimphp/Slim | ||
* @copyright Copyright (c) 2011-2015 Josh Lockhart | ||
* @license https://github.com/slimphp/Slim/blob/3.x/LICENSE.md (MIT License) | ||
*/ | ||
namespace Slim\Http; | ||
|
||
/** | ||
* Collection Interface | ||
* | ||
* @package Slim | ||
* @since 3.0.0 | ||
*/ | ||
interface CollectionInterface extends \ArrayAccess, \Countable, \IteratorAggregate | ||
{ | ||
public function set($key, $value); | ||
|
||
public function get($key, $default = null); | ||
|
||
public function replace(array $items); | ||
|
||
public function all(); | ||
|
||
public function has($key); | ||
|
||
public function remove($key); | ||
|
||
public function clear(); | ||
} | ||
<?php | ||
/** | ||
* Slim Framework (http://slimframework.com) | ||
* | ||
* @link https://github.com/slimphp/Slim | ||
* @copyright Copyright (c) 2011-2015 Josh Lockhart | ||
* @license https://github.com/slimphp/Slim/blob/3.x/LICENSE.md (MIT License) | ||
*/ | ||
namespace Slim\Http; | ||
|
||
/** | ||
* Collection Interface | ||
* | ||
* @package Slim | ||
* @since 3.0.0 | ||
*/ | ||
interface CollectionInterface extends \ArrayAccess, \Countable, \IteratorAggregate | ||
{ | ||
public function set($key, $value); | ||
|
||
public function get($key, $default = null); | ||
|
||
public function replace(array $items); | ||
|
||
public function all(); | ||
|
||
public function has($key); | ||
|
||
public function remove($key); | ||
|
||
public function clear(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
<?php | ||
/** | ||
* Slim Framework (http://slimframework.com) | ||
* | ||
* @link https://github.com/slimphp/Slim | ||
* @copyright Copyright (c) 2011-2015 Josh Lockhart | ||
* @license https://github.com/slimphp/Slim/blob/3.x/LICENSE.md (MIT License) | ||
*/ | ||
namespace Slim\Http; | ||
|
||
/** | ||
* Environment Interface | ||
* | ||
* @package Slim | ||
* @since 3.0.0 | ||
*/ | ||
interface EnvironmentInterface | ||
{ | ||
public static function mock(array $settings = []); | ||
} | ||
<?php | ||
/** | ||
* Slim Framework (http://slimframework.com) | ||
* | ||
* @link https://github.com/slimphp/Slim | ||
* @copyright Copyright (c) 2011-2015 Josh Lockhart | ||
* @license https://github.com/slimphp/Slim/blob/3.x/LICENSE.md (MIT License) | ||
*/ | ||
namespace Slim\Http; | ||
|
||
/** | ||
* Environment Interface | ||
* | ||
* @package Slim | ||
* @since 3.0.0 | ||
*/ | ||
interface EnvironmentInterface | ||
{ | ||
public static function mock(array $settings = []); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
<?php | ||
/** | ||
* Slim Framework (http://slimframework.com) | ||
* | ||
* @link https://github.com/slimphp/Slim | ||
* @copyright Copyright (c) 2011-2015 Josh Lockhart | ||
* @license https://github.com/slimphp/Slim/blob/3.x/LICENSE.md (MIT License) | ||
*/ | ||
namespace Slim\Http; | ||
|
||
/** | ||
* Headers Interface | ||
* | ||
* @package Slim | ||
* @since 3.0.0 | ||
*/ | ||
interface HeadersInterface extends CollectionInterface | ||
{ | ||
public function add($key, $value); | ||
|
||
public function normalizeKey($key); | ||
} | ||
<?php | ||
/** | ||
* Slim Framework (http://slimframework.com) | ||
* | ||
* @link https://github.com/slimphp/Slim | ||
* @copyright Copyright (c) 2011-2015 Josh Lockhart | ||
* @license https://github.com/slimphp/Slim/blob/3.x/LICENSE.md (MIT License) | ||
*/ | ||
namespace Slim\Http; | ||
|
||
/** | ||
* Headers Interface | ||
* | ||
* @package Slim | ||
* @since 3.0.0 | ||
*/ | ||
interface HeadersInterface extends CollectionInterface | ||
{ | ||
public function add($key, $value); | ||
|
||
public function normalizeKey($key); | ||
} |