<?php ob_start(?callable $callback = null, int $chunk_size = 0, int $flags = PHP_OUTPUT_HANDLER_STDFLAGS): bool
<?php $collector = Collector::create()->collect()->register(); $result = Dispatcher::create($collector)->dispatch('get', '/'); ob_start(); $result->getRoute()->getHandler()(); $echoed = ob_get_contents(); ob_end_clean();