get(LoggerInterface::class), $consumerService ?? $di->get(DateConsumerService::class), $name, $value ); parent::__construct($logger, $consumerService, $name, $value); } public function getValue() : ?string { if (!empty($this->parts)) { return \implode('', \array_map(function($p) { return $p->getValue(); }, $this->parts)); } return null; } }