for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Modules\Acl\Http\Controllers;
use App\Modules\Core\Http\Controllers\BaseApiController;
use App\Modules\Acl\Repositories\PermissionRepository;
use App\Modules\Core\Utl\CoreConfig;
class PermissionController extends BaseApiController
{
/**
* Init new object.
*
* @param PermissionRepository $repo
* @param CoreConfig $config
* @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(PermissionRepository $repo, CoreConfig $config)
parent::__construct($repo, $config, 'App\Modules\Acl\Http\Resources\AclPermission');
}
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.