Project

General

Profile

Actions

Task #90277

closed

Remove throwing of RuntimeException if RenderingContext is not desired type, replace with method presence checks.

Added by Claus Due almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2020-01-31
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Implementations of RenderingContext currently throws RuntimeException, but is technically compatible with other instance types of RenderingContext.

The goal of throwing the exception is to avoid calling methods that do not exist - this can be achieved by checking if the method exists.

Actions

Also available in: Atom PDF