| @@ -115,7 +115,7 @@ discard block | ||
| 115 | 115 | * @param \Way\Generators\Filesystem\Filesystem $file | 
| 116 | 116 | * @param \Way\Generators\Compilers\TemplateCompiler $compiler | 
| 117 | 117 | * @param \Illuminate\Database\Migrations\MigrationRepositoryInterface $repository | 
| 118 | - * @param \Illuminate\Config\Repository $config | |
| 118 | + * @param Config $config | |
| 119 | 119 | */ | 
| 120 | 120 | public function __construct( | 
| 121 | 121 | Generator $generator, | 
| @@ -268,6 +268,11 @@ discard block | ||
| 268 | 268 | * @param bool $trim | 
| 269 | 269 | * @return false|string | 
| 270 | 270 | */ | 
| 271 | + | |
| 272 | + /** | |
| 273 | + * @param string $start | |
| 274 | + * @param string $end | |
| 275 | + */ | |
| 271 | 276 |      public function getStringBetween($string, $start, $end, $trim = true) { | 
| 272 | 277 | $string = ' ' . $string; | 
| 273 | 278 | $ini = strpos($string, $start); |