![]() |
TYPO3
7.6
|
Public Member Functions | |
__construct () | |
describe (OutputInterface $output, $object, array $options=array()) | |
register ($format, DescriptorInterface $descriptor) | |
getName () | |
![]() | |
setHelperSet (HelperSet $helperSet=null) | |
getHelperSet () | |
Private Attributes | |
$descriptors = array() | |
Additional Inherited Members | |
![]() | |
static | strlen ($string) |
static | formatTime ($secs) |
static | formatMemory ($memory) |
static | strlenWithoutDecoration (OutputFormatterInterface $formatter, $string) |
![]() | |
$helperSet = null | |
This class adds helper method to describe objects in various formats.
Definition at line 26 of file DescriptorHelper.php.
__construct | ( | ) |
Constructor.
Definition at line 36 of file DescriptorHelper.php.
describe | ( | OutputInterface | $output, |
$object, | |||
array | $options = array() |
||
) |
Describes an object if supported.
Available options are:
OutputInterface | $output | |
object | $object | |
array | $options |
\InvalidArgumentException | when the given format is not supported |
Definition at line 59 of file DescriptorHelper.php.
getName | ( | ) |
{Returns the canonical name of this helper.
Implements HelperInterface.
Definition at line 92 of file DescriptorHelper.php.
register | ( | $format, | |
DescriptorInterface | $descriptor | ||
) |
Registers a descriptor.
string | $format | |
DescriptorInterface | $descriptor |
Definition at line 82 of file DescriptorHelper.php.
|
private |
Definition at line 31 of file DescriptorHelper.php.