protected function prepareActionResponse($status, $notificationId) {

        $response = new ActionResponse();
        $response->setStatus($status);
        $response->setNotify($this->getDataTablesNotification($notificationId));

        return $response;
    }
protected function prepareActionResponse($status, $notificationId) {

        $response = new ActionResponse();
        $response->setStatus($status);
        $response->setNotify($this->getDataTablesNotification($notificationId));

        return $response;
    }
protected function prepareActionResponse ( $ status , $ notificationId ) { $ response = new ActionResponse ( ) ; $ response -> setStatus ( $ status ) ; $ response -> setNotify ( $ this -> getDataTablesNotification ( $ notificationId ) ) ; return $ response ; }
Prepare an action response.

@param int $status The status.
@param string $notificationId The notification id.
@return ActionResponse Returns the action response.
Prepare an action response .