public static function getParams(): array
    {
        $body = (array)self::getInstance()->getParsedBody();
        $query = (array)self::getInstance()->getQueryParams();
        return array_merge([], $body, $query);
    }
public static function getParams(): array
    {
        $body = (array)self::getInstance()->getParsedBody();
        $query = (array)self::getInstance()->getQueryParams();
        return array_merge([], $body, $query);
    }
public static function getParams ( ) : array { $ body = ( array ) self :: getInstance ( ) -> getParsedBody ( ) ; $ query = ( array ) self :: getInstance ( ) -> getQueryParams ( ) ; return array_merge ( [ ] , $ body , $ query ) ; }
Get all params from GET and POST or PUT

@return array
Get all params from GET and POST or PUT