略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: CommonMark\Interfaces\IVisitor::enter

2024-11-12

CommonMark\Interfaces\IVisitor::enter

(cmark >= 1.0.0)

CommonMark\Interfaces\IVisitor::enterVisitation

说明

abstract public CommonMark\Interfaces\IVisitor::enter(IVisitable $visitable): int|IVisitable|null

参数

visitable

The current CommonMark\Interfaces\IVisitable being entered

返回值

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 entering the given IVisitable

Returning nothing will allow the backing iterator to continue

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/commonmark-interfaces-ivisitor.enter.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3