Project

General

Profile

Actions

Task #67211

closed

Cleanup usage of self::class

Added by Frank Nägler almost 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Code Cleanup
Target version:
Start date:
2015-05-30
Due date:
% Done:

100%

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

Description

Within the core we use different code to get the classname as string.
For makeInstance e.g. __CLASS__ is fine, for array keys e.g. in hook registrations, we should use the full qualified namespace followed by ::class.

Actions

Also available in: Atom PDF