-
Notifications
You must be signed in to change notification settings - Fork 1
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
2 changed files
with
15 additions
and
2 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 |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
* @author Ali Güçlü (Mirarus) <[email protected]> | ||
* @link https://github.com/mirarus/bmvc-libs | ||
* @license http://www.php.net/license/3_0.txt PHP License 3.0 | ||
* @version 0.3 | ||
* @version 0.4 | ||
*/ | ||
|
||
namespace BMVC\Libs\Request; | ||
|
@@ -198,6 +198,11 @@ public static function inputToPost(); | |
*/ | ||
public static function input(); | ||
|
||
/** | ||
* @return mixed | ||
*/ | ||
public static function _input(); | ||
|
||
/** | ||
* @param string|null $data | ||
* @param bool $db_filter | ||
|
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
* @author Ali Güçlü (Mirarus) <[email protected]> | ||
* @link https://github.com/mirarus/bmvc-libs | ||
* @license http://www.php.net/license/3_0.txt PHP License 3.0 | ||
* @version 0.5 | ||
* @version 0.6 | ||
*/ | ||
|
||
namespace BMVC\Libs\Request; | ||
|
@@ -492,6 +492,14 @@ public static function input() | |
return json_decode(file_get_contents('php://input', true)); | ||
} | ||
|
||
/** | ||
* @return mixed | ||
*/ | ||
public static function _input() | ||
{ | ||
return json_decode(file_get_contents('php://input')); | ||
} | ||
|
||
/** | ||
* @return void | ||
*/ | ||
|