File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 11
11
use Drupal \Console \Core \Utils \FileQueue ;
12
12
use Drupal \Console \Core \Utils \CountCodeLines ;
13
13
use Drupal \Console \Core \Utils \DrupalFinder ;
14
+ use Drupal \Console \Core \Style \DrupalStyle ;
14
15
15
16
/**
16
17
* Class Generator
@@ -39,6 +40,11 @@ abstract class Generator
39
40
*/
40
41
protected $ drupalFinder ;
41
42
43
+ /**
44
+ * @var DrupalStyle
45
+ */
46
+ protected $ io ;
47
+
42
48
/**
43
49
* @param $renderer
44
50
*/
@@ -71,6 +77,20 @@ public function setDrupalFinder($drupalFinder)
71
77
$ this ->drupalFinder = $ drupalFinder ;
72
78
}
73
79
80
+ /**
81
+ * @return \Drupal\Console\Core\Style\DrupalStyle
82
+ */
83
+ public function getIo () {
84
+ return $ this ->io ;
85
+ }
86
+
87
+ /**
88
+ * @param \Drupal\Console\Core\Style\DrupalStyle $io
89
+ */
90
+ public function setIo ($ io ) {
91
+ $ this ->io = $ io ;
92
+ }
93
+
74
94
/**
75
95
* @param string $template
76
96
* @param string $target
You can’t perform that action at this time.
0 commit comments