src/Notification.php
public function process($autoResponse = true)
    {
        try {
            $request = $this->getRequest();
            $autoResponse && $this->successResponse();
        } catch (\Exception $e) {
            $autoResponse && $this->errorResponse($e->getMessage());

            throw $e;
        }

        return $request;
    }
public function process($autoResponse = true)
    {
        try {
            $request = $this->getRequest();
            $autoResponse && $this->successResponse();
        } catch (\Exception $e) {
            $autoResponse && $this->errorResponse($e->getMessage());

            throw $e;
        }

        return $request;
    }
public function process ( $ autoResponse = true ) { try { $ request = $ this -> getRequest ( ) ; $ autoResponse && $ this -> successResponse ( ) ; } catch ( \ Exception $ e ) { $ autoResponse && $ this -> errorResponse ( $ e -> getMessage ( ) ) ; throw $ e ; } return $ request ; }
@param bool $autoResponse

@return NotificationRequest

@throws EmptyApiKeyException
@throws NotificationSecurityException
@throws NotificationParseException
@throws IncorrectBodyRequestException
@throws \Exception
@param bool $autoResponse