. */ namespace SP\Mvc\View; /** * Interface OutputHandler */ interface OutputHandlerInterface { /** * Capture the output buffer and return the evaluated content. * * @param callable $callback A callable that implements the content evaluated * (eg. {@link https://www.php.net/manual/en/function.include.php}) * @return string The parsed content */ public function bufferedContent(callable $callback): string; }