PHP Класс Neos\Fusion\Core\ExceptionHandlers\AbstractRenderingExceptionHandler

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$runtime Neos\Fusion\Core\Runtime Current TypoScript runtime

Открытые методы

Метод Описание
handleRenderingException ( string $typoScriptPath, Exception $exception ) : string Handle an Exception thrown while rendering TypoScript
setRuntime ( Runtime $runtime ) : void Sets the current TypoScript runtime

Защищенные методы

Метод Описание
exceptionDisablesCache ( string $typoScriptPath, Exception $exception ) : boolean Can be used to determine if handling the exception should disable the cache or not.
formatScriptPath ( string $typoScriptPath, string $delimiter, boolean $escapeHtml = true ) : string breaks the given path to multiple line to allow a nicer formatted logging
getRuntime ( ) : Runtime Returns current TypoScript runtime
handle ( string $typoScriptPath, Exception $exception, integer $referenceCode ) : string Handles an Exception thrown while rendering TypoScript

Описание методов

exceptionDisablesCache() защищенный Метод

Can be used to determine if handling the exception should disable the cache or not.
protected exceptionDisablesCache ( string $typoScriptPath, Exception $exception ) : boolean
$typoScriptPath string The typoScriptPath that triggered the Exception
$exception Exception
Результат boolean Should caching be disabled?

formatScriptPath() защищенный Метод

example: formatScriptPath('page/body