src/Engine/Engine.php
private function activateVariant(Bag $bag, VariantInterface $variant)
    {
        $this->dispatcher->dispatch('phpab.participation.variant_run', [$this, $bag, $variant]);

        $variant->run();
    }
private function activateVariant(Bag $bag, VariantInterface $variant)
    {
        $this->dispatcher->dispatch('phpab.participation.variant_run', [$this, $bag, $variant]);

        $variant->run();
    }
private function activateVariant ( Bag $ bag , VariantInterface $ variant ) { $ this -> dispatcher -> dispatch ( 'phpab.participation.variant_run' , [ $ this , $ bag , $ variant ] ) ; $ variant -> run ( ) ; }
Runs the Variant and dispatches subscriptions

@param Bag $bag
@param VariantInterface $variant
Runs the Variant and dispatches subscriptions