for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Tomaj\NetteApi\Params;
class PutInputParam extends InputParam
{
protected $type = self::TYPE_PUT;
public function getValue()
parse_str(file_get_contents("php://input"), $params);
return $params[$this->key] ?? $this->default;
}