public function getRequestInfo($domain, $section, $category, $requestName): array
    {
        $allRequests = $this->getAllRequests();

        if (!isset($allRequests[$domain][$section][$category][$requestName])) {
            throw new \Exception('Request not found for given domain, section, and category');
        }

        return $allRequests[$domain][$section][$category][$requestName];
    }
public function getRequestInfo($domain, $section, $category, $requestName): array
    {
        $allRequests = $this->getAllRequests();

        if (!isset($allRequests[$domain][$section][$category][$requestName])) {
            throw new \Exception('Request not found for given domain, section, and category');
        }

        return $allRequests[$domain][$section][$category][$requestName];
    }
public function getRequestInfo ( $ domain , $ section , $ category , $ requestName ) : array { $ allRequests = $ this -> getAllRequests ( ) ; if ( ! isset ( $ allRequests [ $ domain ] [ $ section ] [ $ category ] [ $ requestName ] ) ) { throw new \ Exception ( 'Request not found for given domain, section, and category' ) ; } return $ allRequests [ $ domain ] [ $ section ] [ $ category ] [ $ requestName ] ; }
Get information about a particular request given the domain, section, category, and request name.

@param string $domain
@param string $section
@param string $category
@param string $requestName
@return array
@throws \Exception if the request does not exist for the domain, section, category, and request name
Get information about a particular request given the domain section category and request name .