/** * Set body content. * * If body content already defined, this will replace it. * * @param string $content The content to set to the response body. * * @return void * * @since 11.1 */ public static function setBody($content) { self::$body = array((string) $content); }