HtmlDumper::leaveHash()

leaveHash(Cursor $cursor, int $type, string $class, bool $hasChild, int $cut) Dumps while leaving an hash. Parameters Cursor $cursor The Cursor position in the dump int $type A Cursor::HASH_* const for the type of hash string $class The object class, resource type or array count bool $hasChild When the dump of the hash has child item int $cut The number of items the hash has been cut by

HtmlDumper::enterHash()

enterHash(Cursor $cursor, int $type, string $class, bool $hasChild) Dumps while entering an hash. Parameters Cursor $cursor The Cursor position in the dump int $type A Cursor::HASH_* const for the type of hash string $class The object class, resource type or array count bool $hasChild When the dump of the hash has child item

HtmlDumper::dump()

dump(Data $data, callable|resource|string|null $output = null) Dumps a Data object. Parameters Data $data A Data object callable|resource|string|null $output A line dumper callable, an opened stream or an output path

HtmlDumper

class HtmlDumper extends CliDumper HtmlDumper dumps variables as HTML. Constants DUMP_LIGHT_ARRAY DUMP_STRING_LENGTH Properties static $defaultOutput static $defaultColors from CliDumper Methods __construct(callable|resource|string|null $output = null, string $charset = null, int $flags) callable|resource|string setOutput(callable|resource|string $output) Sets the output destination of the dumps. from AbstractDumper string setCharset(string $charset) Sets the

HourTransformer deprecated

class HourTransformer extends HourTransformer deprecated since version 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Intl\DateFormatter\DateFormat\HourTransformer} instead. Alias of {@link \Symfony\Component\Intl\DateFormatter\DateFormat\HourTransformer}. Methods string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. from Transformer string getReverseMatchingRegExp(int $length) Returns a reverse matching regular e

HourTransformer

class HourTransformer extends Transformer Base class for hour transformers. Methods string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. from Transformer string getReverseMatchingRegExp(int $length) Returns a reverse matching regular expression of a string generated by format(). from Transformer array extractDateOptions(string $matched, int $length) Extract date options from a matched value returned by the processing of th

Hour2401Transformer::normalizeHour()

int normalizeHour(int $hour, string $marker = null) Returns a normalized hour value suitable for the hour transformer type. Parameters int $hour The hour value string $marker An optional AM/PM marker Return Value int The normalized hour value

Hour2401Transformer::getReverseMatchingRegExp()

string getReverseMatchingRegExp(int $length) Returns a reverse matching regular expression of a string generated by format(). Parameters int $length The length of the value to be reverse matched Return Value string The reverse matching regular expression

Hour2401Transformer::format()

string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. Parameters DateTime $dateTime A DateTime object to be used to generate the formatted value int $length The formatted value string length Return Value string The formatted value

Hour2401Transformer::extractDateOptions()

array extractDateOptions(string $matched, int $length) Extract date options from a matched value returned by the processing of the reverse matching regular expression. Parameters string $matched The matched value int $length The length of the Transformer pattern string Return Value array An associative array