/** * @param ContainerInterface $container * @param string $field * @param string $value */ protected function append(ContainerInterface $container, $field, $value) { if ($value === null) { return; } $value = trim($value); $value = preg_replace('/\\s+/u', ' ', $value); $container->add($field, $value); }
/** * @param ContainerInterface $container * @param string $field * @param string $value */ protected function append(ContainerInterface $container, $field, $value) { $container->add($field, $value); }