public function all()
    {
        $params = [];

        foreach ($this->methodRequirements as $key => $config) {
            $params[$key] = $this->get($key);
        }

        return $params;
    }
public function all()
    {
        $params = [];

        foreach ($this->methodRequirements as $key => $config) {
            $params[$key] = $this->get($key);
        }

        return $params;
    }
public function all ( ) { $ params = [ ] ; foreach ( $ this -> methodRequirements as $ key => $ config ) { $ params [ $ key ] = $ this -> get ( $ key ) ; } return $ params ; }
Fetches all required parameters from the current Request body.

@return array
Fetches all required parameters from the current Request body .