@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace Djunehor\PutHelper; |
| 3 | 3 | |
| 4 | -use Illuminate\Support\ServiceProvider; |
|
| 5 | -use Illuminate\Support\Facades\Validator; |
|
| 6 | 4 | use Illuminate\Http\UploadedFile; |
| 5 | +use Illuminate\Support\Facades\Validator; |
|
| 6 | +use Illuminate\Support\ServiceProvider; |
|
| 7 | 7 | |
| 8 | 8 | class PutHelperServiceProvider extends ServiceProvider |
| 9 | 9 | { |
@@ -72,6 +72,10 @@ |
||
| 72 | 72 | return $response; |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | + /** |
|
| 76 | + * @param string $start |
|
| 77 | + * @param string $end |
|
| 78 | + */ |
|
| 75 | 79 | private function getStringBetween($string, $start, $end) |
| 76 | 80 | { |
| 77 | 81 | $string = ' ' . $string; |