public function excerpt($content, $length = 200, $focus = null, $stripFields = null)
    {
        $excerpter = new Excerpt($content);

        return $excerpter->getExcerpt($length, false, $focus, $stripFields);
    }
public function excerpt($content, $length = 200, $focus = null, $stripFields = null)
    {
        $excerpter = new Excerpt($content);

        return $excerpter->getExcerpt($length, false, $focus, $stripFields);
    }
public function excerpt ( $ content , $ length = 200 , $ focus = null , $ stripFields = null ) { $ excerpter = new Excerpt ( $ content ) ; return $ excerpter -> getExcerpt ( $ length , false , $ focus , $ stripFields ) ; }
Create an excerpt for the given content.

@param \Bolt\Legacy\Content|array|string $content
@param int                               $length  Defaults to 200 characters
@param array|string|null                 $focus
@param array|null                        $stripFields

@return string Resulting excerpt
Create an excerpt for the given content .