mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-09-04 06:11:05 +00:00
chore(platform): remove legacy-era mail, pdf and storage sources
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Platform\Storage\Http\Resources;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Http\Resources\Json\JsonResource;
|
||||
|
||||
class FileDiskResource extends JsonResource
|
||||
{
|
||||
/**
|
||||
* Transform the resource into an array.
|
||||
*
|
||||
* @param Request $request
|
||||
*/
|
||||
public function toArray($request): array
|
||||
{
|
||||
return [
|
||||
'id' => $this->id,
|
||||
'name' => $this->name,
|
||||
'type' => $this->type,
|
||||
'driver' => $this->driver,
|
||||
'set_as_default' => $this->set_as_default,
|
||||
'credentials' => $this->credentials,
|
||||
'company_id' => $this->company_id,
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user