What about moving the setter to the PhpDumper class, and move the code in Kernel from the container to where we create the PhpDumper?