Example #1
0
 /**
  * Get the input source for the request.
  *
  * @see \Illuminate\Http\Request::getInputSource()
  * @return \Symfony\Component\HttpFoundation\ParameterBag
  */
 protected function getInputSource()
 {
     //Decode cbor
     if ($this->isCbor()) {
         return $this->cbor();
     }
     //Fall back to Request implementation of getInputSource().
     return parent::getInputSource();
 }