/** * Initializes outline example event. * * @param OutlineNode $outline * @param integer $iteration iteration number * @param ContextInterface $context * @param integer $result * @param Boolean $skipped */ public function __construct(OutlineNode $outline, $iteration, ContextInterface $context, $result = null, $skipped = false) { parent::__construct($context, $result, $skipped); $this->outline = $outline; $this->iteration = $iteration; }
/** * Initializes scenario event. * * @param ScenarioNode $scenario * @param ContextInterface $context * @param integer $result * @param Boolean $skipped */ public function __construct(ScenarioNode $scenario, ContextInterface $context, $result = null, $skipped = false) { $this->scenario = $scenario; parent::__construct($context, $result, $skipped); }