app/Http/Responses/ApiResponse.php
/**
     * Sends content for the current web response,
     * send encoded json
     *
     * @return Response
     */
Sends content for the current web response,
send encoded json

@return Response
Sends content for the current web response send encoded json @return Response
public function sendContent()
    {
        $data = ['result' => $this->data];
        echo json_encode($data);
        return $this;
    }
public function sendContent ( ) { $ data = [ 'result' => $ this -> data ] ; echo json_encode ( $ data ) ; return $ this ; }
Sends content for the current web response,
 send encoded json
Sends content for the current web response send encoded json