handlers = $tmapFactory->create( [ 'array' => $handlers, 'type' => ValueHandlerInterface::class ] ); } /** * Retrieves an appropriate configuration value handler * * @param string $field * @return ValueHandlerInterface */ public function get($field) { return isset($this->handlers[$field]) ? $this->handlers[$field] : $this->handlers[self::DEFAULT_HANDLER]; } }