code: protected function createLeadFromBody(string $body): string
      {
          $body = strip_tags($body);
          $sentences = array_filter(
              explode('.', $body),
              function ($item) {
                  return trim($item);
              }
          );
  
          return implode(
              '. ',
              array_slice(
                  $sentences,
                  0,
                  self::LEAD_SENTENCES_LIMIT
              )
          );
      }
docs: create lead/synopsis from body content if not available