Пример #1
0
 /**
  * JsonBody constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->content = json_decode($this->input, true);
 }
Пример #2
0
 /**
  * FormBody constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->parse();
 }
Пример #3
0
 /**
  * PlainBody constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->content = $this->input;
 }