PHP Class Neos\Neos\TypoScript\ExceptionHandlers\NodeWrappingHandler

Inheritance: extends Neos\Fusion\Core\ExceptionHandlers\AbstractRenderingExceptionHandler
Show file Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$contentElementWrappingService Neos\Neos\Service\ContentElementWrappingService
$environment Neos\Flow\Utility\Environment
$privilegeManager Neos\Flow\Security\Authorization\PrivilegeManagerInterface
$systemLogger Neos\Flow\Log\SystemLoggerInterface

Protected Methods

Method Description
getMessage ( Exception $exception, $referenceCode ) : string appends the given reference code to the exception's message unless it is unset
handle ( string $typoScriptPath, Exception $exception, integer $referenceCode ) : string renders the exception to nice html content element to display, edit, remove, .

Method Details

getMessage() protected method

appends the given reference code to the exception's message unless it is unset
protected getMessage ( Exception $exception, $referenceCode ) : string
$exception Exception
$referenceCode
return string

handle() protected method

..
protected handle ( string $typoScriptPath, Exception $exception, integer $referenceCode ) : string
$typoScriptPath string - path causing the exception
$exception Exception - exception to handle
$referenceCode integer - might be unset
return string

Property Details

$contentElementWrappingService protected property

protected ContentElementWrappingService,Neos\Neos\Service $contentElementWrappingService
return Neos\Neos\Service\ContentElementWrappingService

$environment protected property

protected Environment,Neos\Flow\Utility $environment
return Neos\Flow\Utility\Environment

$privilegeManager protected property

protected PrivilegeManagerInterface,Neos\Flow\Security\Authorization $privilegeManager
return Neos\Flow\Security\Authorization\PrivilegeManagerInterface

$systemLogger protected property

protected SystemLoggerInterface,Neos\Flow\Log $systemLogger
return Neos\Flow\Log\SystemLoggerInterface