-
Notifications
You must be signed in to change notification settings - Fork 126
Expand file tree
/
Copy pathPhotoUploadFlow.php
More file actions
41 lines (35 loc) · 823 Bytes
/
Copy pathPhotoUploadFlow.php
File metadata and controls
41 lines (35 loc) · 823 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
<?php
namespace Craue\FormFlowBundle\Tests\IntegrationTestBundle\Form;
use Craue\FormFlowBundle\Form\FormFlow;
/**
* @author Christian Raue <christian.raue@gmail.com>
* @copyright 2011-2015 Christian Raue
* @license http://opensource.org/licenses/mit-license.php MIT License
*/
class PhotoUploadFlow extends FormFlow {
/**
* {@inheritDoc}
*/
public function getName() {
return 'photoUpload';
}
/**
* {@inheritDoc}
*/
protected function loadStepsConfig() {
return array(
array(
'label' => 'select a photo',
'form_type' => new PhotoUploadForm(),
),
array(
'label' => 'describe the photo',
'form_type' => new PhotoUploadForm(),
),
array(
'label' => 'confirmation',
'form_type' => new PhotoUploadForm(),
),
);
}
}