Task #7688

Don't reflect Exception classes

Added by Robert Lemke about 5 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2010-05-06
Priority:Should have Due date:
Assigned To:Robert Lemke % Done:

100%

Category:Reflection
Target version:TYPO3 Flow Base Distribution - 1.0 alpha 9
Sprint: Has patch:
PHP Version: Complexity:

Description

Currently the Reflection Service will even reflect *Exception classes. That's unnecessary because we never instantiate exceptions through the Object Manager nor do we need other reflection information about exceptions.

Therefore we should skip all classes whose name ends with "Exception"

Associated revisions

Revision 39c1e80b
Added by Robert Lemke about 5 years ago

[~TASK] FLOW3 (Core): The bootstrap now omits classes whose name ends with "Exception" when initializing the ReflectionService. Resolves #7688
[+BUGFIX] FLOW3 (Reflection): ObjectAccess->getProperty() now allows numeric indexes and supports \ArrayAccess objects. Resolves #7687

History

#1 Updated by Robert Lemke about 5 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r4276.

Also available in: Atom PDF