public function __toString()
{
$str = '[' . PHP_EOL;
foreach ($this->values as $key => $value) {
if (is_string($key)) {
$key = "'" . $key . "'";
}
$str .= ' ' . $key . ' => ';
if ($value instanceof DefinitionHelper) {
$str .= str_replace(PHP_EOL, PHP_EOL . ' ', $value->getDefinition(''));
} else {
$str .= var_export($value, true);
}
$str .= ',' . PHP_EOL;
}
return $str . ']';
}