- Created ExampleTest and RoutesTest for basic application response and route testing. - Implemented IsolatedDatabaseTestCase for isolated database testing. - Added unit tests for various models and services including Contract, CPE, and LeadDetail. - Developed request validation tests for CreateClientRequest, UpdateClientRequest, and ContractRequest. - Introduced Vite configuration for asset management in the Laravel application.
11 lines
329 B
PHP
11 lines
329 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\Resources;
|
|
|
|
class PaymentMethodController extends ResourceController
|
|
{
|
|
protected string $resource = 'payment_methods';
|
|
protected string $viewPath = 'web.resources.payment_methods';
|
|
protected string $collectionName = 'methods';
|
|
protected string $itemName = 'payment_method';
|
|
} |