protected function _sendContent($content)
    {
        deprecationWarning(
            'Will be removed in 4.0.0'
        );

        if (!is_string($content) && is_callable($content)) {
            $content = $content();
        }

        echo $content;
    }
protected function _sendContent($content)
    {
        deprecationWarning(
            'Will be removed in 4.0.0'
        );

        if (!is_string($content) && is_callable($content)) {
            $content = $content();
        }

        echo $content;
    }
protected function _sendContent ( $ content ) { deprecationWarning ( 'Will be removed in 4.0.0' ) ; if ( ! is_string ( $ content ) && is_callable ( $ content ) ) { $ content = $ content ( ) ; } echo $ content ; }
Sends a content string to the client.

If the content is a callable, it is invoked. The callable should either
return a string or output content directly and have no return value.

@param string|callable $content String to send as response body or callable
which returns/outputs content.
@return void
@deprecated 3.4.0 Will be removed in 4.0.0
Sends a content string to the client .