File "ModuleProvider.php"
Full Path: /home/bettaeza/flyinsyria.com/.well-known/.well-known/Review/ModuleProvider.php
File size: 804 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace Modules\Review;
use Modules\ModuleServiceProvider;
class ModuleProvider extends ModuleServiceProvider
{
public function boot()
{
$this->loadMigrationsFrom(__DIR__ . '/Migrations');
}
/**
* Register bindings in the container.
*
* @return void
*/
public function register()
{
$this->app->register(RouterServiceProvider::class);
}
public static function getAdminMenu()
{
return [
'review'=>[
"position"=>55,
'url' => route('review.admin.index'),
'title' => __("Reviews"),
'icon' => 'icon ion-ios-text',
'permission' => 'review_manage_others',
],
];
}
}