*/ class Debug { /** * Dump the definition to a string. * * @param Definition $definition * * @return string */ public static function dumpDefinition(Definition $definition) { static $dumper; if (! $dumper) { $dumper = new DefinitionDumperDispatcher(); } return $dumper->dump($definition); } }