src/Jobs/Send.php
private function fireEvent()
    {
        $status = isset($this->response['error_code']) ? VkRequest::STATUS_FAIL : VkRequest::STATUS_SUCCESS;
        $event = sprintf(VkRequest::EVENT_FORMAT, $status, $this->request->method, $this->request->tag);
        event($event, [$this->request, $this->response]);
    }
private function fireEvent()
    {
        $status = isset($this->response['error_code']) ? VkRequest::STATUS_FAIL : VkRequest::STATUS_SUCCESS;
        $event = sprintf(VkRequest::EVENT_FORMAT, $status, $this->request->method, $this->request->tag);
        event($event, [$this->request, $this->response]);
    }
private function fireEvent ( ) { $ status = isset ( $ this -> response [ 'error_code' ] ) ? VkRequest :: STATUS_FAIL : VkRequest :: STATUS_SUCCESS ; $ event = sprintf ( VkRequest :: EVENT_FORMAT , $ status , $ this -> request -> method , $ this -> request -> tag ) ; event ( $ event , [ $ this -> request , $ this -> response ] ) ; }
Fire an event for response
Fire an event for response