DumperInterface

interface DumperInterface DumperInterface is the interface implemented by all translation dumpers. There is no common option. Methods dump(MessageCatalogue $messages, array $options = array()) Dumps the message catalogue. Details dump(MessageCatalogue $messages, array $options = array()) Dumps the message catalogue. Parameters MessageCatalogue $messages The message catalogue array $options Options that are used by the dumper

DumperInterface

interface DumperInterface DumperInterface used by Data objects. Methods dumpScalar(Cursor $cursor, string $type, scalar $value) Dumps a scalar value. dumpString(Cursor $cursor, string $str, bool $bin, int $cut) Dumps a string. enterHash(Cursor $cursor, int $type, string $class, bool $hasChild) Dumps while entering an hash. leaveHash(Cursor $cursor, int $type, string $class, bool $hasChild, int $cut) Dumps while leaving an hash. Details dump

DumperCollection::setAttributes()

setAttributes(array $attributes) Sets multiple attributes. Parameters array $attributes The attributes

DumperCollection::hasAttribute()

bool hasAttribute(string $name) Returns true if the attribute is defined. Parameters string $name The attribute name Return Value bool true if the attribute is defined, false otherwise

DumperInterface

interface DumperInterface DumperInterface is the interface implemented by service container dumper classes. Methods string dump(array $options = array()) Dumps the service container. Details string dump(array $options = array()) Dumps the service container. Parameters array $options An array of options Return Value string The representation of the service container

DumperCollection::setAttribute()

setAttribute(string $name, mixed $value) Sets an attribute by name. Parameters string $name The attribute name mixed $value The attribute value

DumperCollection::setAll()

setAll(array $children) Sets children. Parameters array $children The children

DumperCollection::getRoot()

DumperCollection getRoot() Returns the root of the collection. Return Value DumperCollection The root collection

DumperCollection::getIterator()

Iterator|DumperCollection[]|DumperRoute[] getIterator() Returns an iterator over the children. Return Value Iterator|DumperCollection[]|DumperRoute[] The iterator

DumperCollection::getAttribute()

mixed getAttribute(string $name, mixed $default = null) Returns an attribute by name. Parameters string $name The attribute name mixed $default Default value is the attribute doesn't exist Return Value mixed The attribute value