removed unused Bag-functions

This commit is contained in:
Petri Asikainen 2021-07-06 07:00:12 +03:00
parent 5f81488679
commit 15dd7061ed

View file

@ -6,8 +6,6 @@ use Illuminate\Http\UploadedFile;
use Illuminate\Support\Arr;
use Illuminate\Support\Collection;
use Illuminate\Support\Str;
use Symfony\Component\HttpFoundation\FileBag;
use Symfony\Component\HttpFoundation\ParameterBag;
trait ConvertsBase64ToFiles
{
@ -16,26 +14,6 @@ trait ConvertsBase64ToFiles
return [];
}
/**
* Helper method to get the body parameters bag.
*
* @return \Symfony\Component\HttpFoundation\ParameterBag
*/
private function bodyParametersBag(): ParameterBag
{
return $this->request;
}
/**
* Helper method to get the uploaded files bag.
*
* @return FileBag
*/
private function uploadFilesBag(): FileBag
{
return $this->files;
}
/**
* Pulls the Base64 contents for each file key and creates
* an UploadedFile instance from it and sets it on the