Skip to content

ItemBuilder ​

php
final class KMark\Block\ItemBuilder

The lines of a list item that is being read.

Source: src/Block/ItemBuilder.php

Methods ​

__construct() ​

php
public function __construct(string $first)

build() ​

php
public function build(): ListItem

indented() ​

php
public function indented(int $blanks, string $line): void

Blank lines, then a line of the item without its indentation.

last() ​

php
public function last(): string

lazy() ​

php
public function lazy(string $line): void

A line that goes on with a paragraph without being indented.

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