src/Response.php
public function call($content, Closure $callback = null)
    {
        if ($content instanceof RedirectResponse || $content instanceof JsonResponse) {
            return $content;
        } elseif ($content instanceof Facile) {
            return $content->render();
        } elseif ($content instanceof IlluminateResponse) {
            return $this->handleIlluminateResponse($content, $callback);
        }

        return $this->handleResponseCallback($content, $callback);
    }
public function call($content, Closure $callback = null)
    {
        if ($content instanceof RedirectResponse || $content instanceof JsonResponse) {
            return $content;
        } elseif ($content instanceof Facile) {
            return $content->render();
        } elseif ($content instanceof IlluminateResponse) {
            return $this->handleIlluminateResponse($content, $callback);
        }

        return $this->handleResponseCallback($content, $callback);
    }
Handle response from resources.

@param  mixed  $content
@param  \Closure|null  $callback

@return mixed