src/Model/Model.php
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
            )
        );
    }
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
            )
        );
    }
create lead/synopsis from body content if not available