Please wait while we load your page...

Tools

PHP Manual [CommonMark\Interfaces\IVisitor

Protect Your Website Today


PHP Manual || CommonMark\Interfaces\IVisitor

(cmark >= 1.0.0)

CommonMark\Interfaces\IVisitor::leaveVisitation

Description

abstract public CommonMark\Interfaces\IVisitor::leave ( IVisitable $visitable ) : ?int|IVisitable

Parameters

visitable

The current CommonMark\Interfaces\IVisitable being exited

Return Values

Returning CommonMark\Interfaces\IVisitor::Done will cause the backing iterator to exit.

Returning CommonMark\Interfaces\IVisitor::Enter will reset the backing iterator at entering the current IVisitable

Returning CommonMark\Interfaces\IVisitor::Leave will reset the backing iterator at exiting the current IVisitable

Returning an IVisitable will reset the backing iterator at exiting the given IVisitable

Returning nothing will allow the backing iterator to continue



PHP Manual || CommonMark\Interfaces\IVisitor