@@ 139-146 (lines=8) @@ | ||
136 | $this->renderSingleFile($sourceDir, $targetDir, 'BikesListPagePart.php', $parameters); |
|
137 | } |
|
138 | ||
139 | if ($this->demosite) { |
|
140 | $relPath = '/Entity/'; |
|
141 | $sourceDir = $this->skeletonDir.$relPath; |
|
142 | $targetDir = $this->bundle->getPath().$relPath; |
|
143 | ||
144 | $this->renderSingleFile($sourceDir, $targetDir, 'Bike.php', $parameters); |
|
145 | $this->renderSingleFile($sourceDir, $targetDir, 'UspItem.php', $parameters); |
|
146 | } |
|
147 | ||
148 | $this->assistant->writeLine('Generating entities : <info>OK</info>'); |
|
149 | } |
|
@@ 181-188 (lines=8) @@ | ||
178 | $this->renderSingleFile($sourceDir, $targetDir, 'BikesListPagePartAdminType.php', $parameters); |
|
179 | } |
|
180 | ||
181 | if ($this->demosite) { |
|
182 | $relPath = '/Form/'; |
|
183 | $sourceDir = $this->skeletonDir.$relPath; |
|
184 | $targetDir = $this->bundle->getPath().$relPath; |
|
185 | ||
186 | $this->renderSingleFile($sourceDir, $targetDir, 'BikeAdminType.php', $parameters); |
|
187 | $this->renderSingleFile($sourceDir, $targetDir, 'UspItemAdminType.php', $parameters); |
|
188 | } |
|
189 | ||
190 | $this->assistant->writeLine('Generating form types : <info>OK</info>'); |
|
191 | } |