value->setValue(ClassUtils::verifyInstance($mode, EffectMode::class)); return $this; } }