<?php

namespace Drupal\ctools\Event;

use Drupal\ctools\Wizard\FormWizardInterface;
use Drupal\Component\EventDispatcher\Event;

/**
 * An event for altering form wizard values.
 */
class WizardEvent extends Event {

  /**
   * @var \Drupal\ctools\Wizard\FormWizardInterface
   */
  protected $wizard;

  /**
   * @var mixed
   */
  protected $values;

  /**
   *
   */
  public function __construct(FormWizardInterface $wizard, $values) {
    $this->wizard = $wizard;
    $this->values = $values;
  }

  /**
   *
   */
  public function getWizard() {
    return $this->wizard;
  }

  /**
   *
   */
  public function getValues() {
    return $this->values;
  }

  /**
   *
   */
  public function setValues($values) {
    $this->values = $values;
    return $this;
  }

}
