File "ModuleProvider.php"
Full Path: /home/bettaeza/flyinsyria.com/.well-known/Contact/ModuleProvider.php
File size: 593 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace Modules\Contact;
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 getTemplateBlocks(){
return [
'contact_block'=>"\\Modules\\Contact\\Blocks\\Contact",
];
}
}