The installation has been fixed.

This commit is contained in:
Muammer Top 2020-10-02 17:31:51 +03:00
parent ee7ce43bf3
commit a65dea3e1f
3 changed files with 14 additions and 12 deletions

View File

@ -2,12 +2,12 @@
"name": "visiosoft/advs-module",
"type": "streams-addon",
"autoload": {
"files": [
"src/helpers.php"
],
"psr-4": {
"Visiosoft\\AdvsModule\\": "src/"
}
},
"files": [
"src/Support/_helpers.php"
]
},
"require": {
"wirelab/language_switcher-plugin": "^1.3",

View File

@ -0,0 +1,10 @@
<?php
use Illuminate\Contracts\Bus\Dispatcher;
use Visiosoft\AdvsModule\Adv\Command\appendRequestURL;
if (!function_exists('fullLink')) {
function fullLink($request, $url, $newParameters = array()) {
return app(Dispatcher::class)->dispatch(new appendRequestURL($request, $url, $newParameters));
}
}

View File

@ -1,8 +0,0 @@
<?php
use Illuminate\Contracts\Bus\Dispatcher;
use Visiosoft\AdvsModule\Adv\Command\appendRequestURL;
function fullLink($request, $url, $newParameters = array()) {
return app(Dispatcher::class)->dispatch(new appendRequestURL($request, $url, $newParameters));
}