PHP 클래스 Neos\Fusion\Core\ExceptionHandlers\AbstractRenderingExceptionHandler

파일 보기 프로젝트 열기: neos/neos-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$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