Dump one or more YAML _documents to the file/stream.
Note that while you can call dump() multiple times on the same dumper, you will end up writing multiple YAML "files" to the same file/stream.
YAMLException on error (e.g. invalid nodes, unable to write to file/stream).
See Implementation
Dump one or more YAML _documents to the file/stream.
Note that while you can call dump() multiple times on the same dumper, you will end up writing multiple YAML "files" to the same file/stream.