Skip to content
This repository has been archived by the owner on May 17, 2022. It is now read-only.

Commit

Permalink
added request helper + refatorings
Browse files Browse the repository at this point in the history
  • Loading branch information
DaviMenezes committed Feb 28, 2019
1 parent 3a251d1 commit 8a84d1e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/helpers/general.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

use Dvi\Support\Http\Request;
use Dvi\Support\Collection;
use Dvi\Support\Corda;
use Dvi\Corda\Support\Corda;
use Dvi\Support\Http\Web;

function collection($value)
Expand Down Expand Up @@ -62,3 +62,8 @@ function editing()
}
return true;
}

function request():Request
{
return Request::instance();
}
2 changes: 1 addition & 1 deletion src/services/controllers/ControlLoadService.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace App\Service\Controller;

use App\Http\Request;
use Dvi\Support\Http\Request;
use Exception;
use ReflectionClass;

Expand Down

0 comments on commit 8a84d1e

Please sign in to comment.