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::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::setDumpBoundaries()

setDumpBoundaries(string $prefix, string $suffix) Sets an HTML prefix and suffix that will encapse every single dump. Parameters string $prefix The prepended HTML string string $suffix The appended HTML string

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

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

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

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

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

Hour2400Transformer::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