Lines Matching refs:content
28 private string $content;
36 public function __construct(string $content, int $lineOffset = 0)
38 if (! \mb_check_encoding($content, 'UTF-8')) {
43 if (\substr($content, 0, 3) === "\xEF\xBB\xBF") {
44 $content = \substr($content, 3);
47 $this->content = $content;
53 return $this->content;
86 $lines = \preg_split('/\r\n|\n|\r/', $this->content);
88 throw new UnexpectedEncodingException('Failed to split Markdown content by line');