PHP 7.4.22 Released!


(cmark >= 1.1.0)

CommonMark\CQL::__invokeCQL Execution


public CommonMark\CQL::__invoke ( CommonMark\Node $root , callable $handler )

Shall invoke the current CQL function on the given root, executing the given handler on entry to a CommonMark\Node



the root node of a tree


should have the prototype:

handler ( CommonMark\Node $root , CommonMark\Node $entering ) : bool|null
  • Should handler fail to return (void), or return null, CQL will continue executing
  • Should the handler return a truthy value, CQL will continue executing.
  • Should the handler return a falsy value, CQL will stop executing

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top