-
Notifications
You must be signed in to change notification settings - Fork 126
Expand file tree
/
Copy pathPostBindSavedDataEvent.php
More file actions
52 lines (43 loc) · 1006 Bytes
/
Copy pathPostBindSavedDataEvent.php
File metadata and controls
52 lines (43 loc) · 1006 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
namespace Craue\FormFlowBundle\Event;
use Craue\FormFlowBundle\Form\FormFlowInterface;
/**
* Is called for each step after binding its saved form data.
*
* @author Marcus Stöhr <dafish@soundtrack-board.de>
* @author Christian Raue <christian.raue@gmail.com>
* @copyright 2011-2015 Christian Raue
* @license http://opensource.org/licenses/mit-license.php MIT License
*/
class PostBindSavedDataEvent extends FormFlowEvent {
/**
* @var mixed
*/
protected $formData;
/**
* @var integer
*/
protected $stepNumber;
/**
* @param FormFlowInterface $flow
* @param mixed $formData
* @param integer $stepNumber
*/
public function __construct(FormFlowInterface $flow, $formData, $stepNumber) {
$this->flow = $flow;
$this->formData = $formData;
$this->stepNumber = $stepNumber;
}
/**
* @return mixed
*/
public function getFormData() {
return $this->formData;
}
/**
* @return integer
*/
public function getStepNumber() {
return $this->stepNumber;
}
}