for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Modules\DummyModule\Http\Controllers;
use App\Modules\Core\BaseClasses\BaseApiController;
use App\Modules\DummyModule\Services\DummyService;
use App\Modules\DummyModule\Http\Requests\StoreDummy;
class DummyController extends BaseApiController
{
/**
* Path of the sotre form request.
*
* @var string
*/
protected $storeFormRequest = 'App\Modules\DummyModule\Http\Requests\StoreDummy';
* Path of the model resource
protected $modelResource = 'App\Modules\DummyModule\Http\Resources\DummyModel';
* List of all route actions that the base api controller
* will skip permissions check for them.
* @var array
protected $skipPermissionCheck = [];
* will skip login check for them.
protected $skipLoginCheck = [];
* Init new object.
* @param DummyService $service
* @return void
@return
Adding a @return annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.
Please refer to the PHP core documentation on constructors.
public function __construct(DummyService $service)
parent::__construct($service);
}
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.