Lines Matching defs:dump
115 * @throws DumpException When trying to dump PHP resource
117 public static function dump($value, int $flags = 0): string
122 throw new DumpException(sprintf('Unable to dump PHP resources in a YAML file ("%s").', get_resource_type($value)));
132 return '!'.$value->getTag().' '.self::dump($value->getValue(), $flags);
136 return '!php/object '.self::dump(serialize($value));
143 $output[] = sprintf('%s: %s', self::dump($key, $flags), self::dump($val, $flags));
228 * @param array $value The PHP array to dump
237 $output[] = self::dump($val, $flags);
246 $output[] = sprintf('%s: %s', self::dump($key, $flags), self::dump($val, $flags));