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 Lazy proxy dumper capable of generating the instantiation logic PHP code for proxied services. Methods bool isProxyCandidate(Definition $definition) Inspects whether the given definitions should produce proxy instantiation logic in the dumped container. string getProxyFactoryCode(Definition $definition, $id) Generates the code to be used to instantiate a proxy in the dumped factory code. string getProxyCode(Definition $definition) Generates the code fo

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

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

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

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