Index
-
\com\setasign\SetaFramework
-
Helper
- ArrayHelper
- ConsoleHelper
- CsrfProtection
- CsrfProtectionException
- DataWrapper
- DatabaseCleaner
- Debugging
- FilesystemHelper
- FunctionWrapper
- JsonHelper
- Logger
- LoggerHelper
- MathHelper
- ObserverClosure
- OutputBufferHelper
- ParameterSanitizer
- PregMatchAllMatchesIterator
- RateLimiter
- ReturnValueClosure
- StringHelper
- SwiftMailerHelper
- UnexpectedOutputException
- UnserializableClosure
-
Helper
com\setasign\SetaFramework\Helper
OutputBufferHelper Class OutputBufferHelper
File: /SetaFramework/src/Helper/OutputBufferHelper.php
Class hierarchy
Summary
Static Methods
catchOutput()
public static OutputBufferHelper::catchOutput (
callable $callback,
bool $allowOutput = true
): stringbool $allowOutput = true
Parameters
- $callback : callable
- $allowOutput : bool
Exceptions
Throws \com\setasign\SetaFramework\CriticalException If too many output buffer levels were closed $callback
Throws UnexpectedOutputException If $allowOutput is false but there was output
Throws \Throwable If $callback throws any exceptions
