src/includes/classes/Core/Request.php
public function getFormData(): array
    {
        if (!in_array($this->getMediaType(), ['application/x-www-form-urlencoded', 'multipart/form-data'], true)) {
            return $data = []; // Not possible.
        }
        $data        = $this->getParsedBody();
        return $data = is_array($data) ? $data : [];
    }
public function getFormData(): array
    {
        if (!in_array($this->getMediaType(), ['application/x-www-form-urlencoded', 'multipart/form-data'], true)) {
            return $data = []; // Not possible.
        }
        $data        = $this->getParsedBody();
        return $data = is_array($data) ? $data : [];
    }
Get form data.

@since 17xxxx Request.

@return array Form data.