private function payload(
        DomainInterface $domain,
        InputInterface $input,
        ServerRequestInterface $request
    ) {
        return $domain($input($request));
    }
private function payload(
        DomainInterface $domain,
        InputInterface $input,
        ServerRequestInterface $request
    ) {
        return $domain($input($request));
    }
private function payload ( DomainInterface $ domain , InputInterface $ input , ServerRequestInterface $ request ) { return $ domain ( $ input ( $ request ) ) ; }
Execute the domain to get a payload using input from the request.

@param DomainInterface $domain
@param InputInterface $input
@param ServerRequestInterface $request

@return PayloadInterface
Execute the domain to get a payload using input from the request .