Project

General

Profile

Actions

Feature #76008

closed

Add property visibility to DebuggerUtility::var_dump

Added by Nicola Heisch almost 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2016-05-02
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
extbase var_dump debug DebuggerUtility
Complexity:
Sprint Focus:

Description

It would be great if the method \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump would show the visibility of object properties.

I've added a screenshot of how it could look.


Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #76301: Output of DebuggerUtility contains HTML even if not requestedClosed2016-05-25

Actions
Actions #1

Updated by Nicola Heisch almost 8 years ago

The Visibility could be checked in \TYPO3\CMS\Extbase\Utility\DebuggerUtility::renderContent and then passed to the other methods until the headers are rendered.

$visibility = ($property->isProtected() ? 'protected' : ($property->isPrivate() ? 'private' : 'public'));

Actions #2

Updated by Wouter Wolters almost 8 years ago

  • Target version deleted (7.6.5)

Features won't be included in stable releases.

Actions #3

Updated by Gerrit Code Review almost 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48087

Actions #4

Updated by Gerrit Code Review almost 8 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48087

Actions #5

Updated by Gerrit Code Review almost 8 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48087

Actions #6

Updated by Tomita Militaru almost 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF