Skip to content

ItemReader ​

php
final class KMark\Block\ItemReader

Reads the lines of a list item: the ones that are indented as far as its text, the blank lines between them, and the lines of text that go on with a paragraph without being indented.

Source: src/Block/ItemReader.php

Methods ​

blanks() ​

php
public function blanks(Lines $lines): int

The number of blank lines from here.

read() ​

php
public function read(Lines $lines, ListMarker $listMarker): ListItem

Documentation of 2.0.0 , built from f573e5f on 2.0.0 by pipeline #37507527063 on 2026-10-06.