|
1
|
|
|
<?php |
|
2
|
|
|
/** |
|
3
|
|
|
* Fazer @todo - classe repetida |
|
4
|
|
|
*/ |
|
5
|
|
|
|
|
6
|
|
|
namespace Gamer; |
|
7
|
|
|
|
|
8
|
|
|
use App\Models\User; |
|
9
|
|
|
use Arrilot\Widgets\Facade as Widget; |
|
10
|
|
|
use Bkwld\Library; |
|
11
|
|
|
use Config; |
|
12
|
|
|
use Facilitador\Models\Menu; |
|
13
|
|
|
use Facilitador\Models\MenuItem; |
|
14
|
|
|
use Facilitador\Models\Permission; |
|
15
|
|
|
use Facilitador\Models\Role; |
|
16
|
|
|
use Facilitador\Models\Setting; |
|
17
|
|
|
use Facilitador\Models\Translation; |
|
18
|
|
|
use Illuminate\Database\Eloquent\Collection; |
|
19
|
|
|
use Illuminate\Database\Eloquent\Model; |
|
20
|
|
|
use Illuminate\Filesystem\Filesystem; |
|
21
|
|
|
use Illuminate\Support\Arr; |
|
22
|
|
|
use Illuminate\Support\Facades\Cache; |
|
23
|
|
|
use Illuminate\Support\Facades\Storage; |
|
24
|
|
|
use Illuminate\Support\Str; |
|
25
|
|
|
use ReflectionClass; |
|
26
|
|
|
use Request; |
|
27
|
|
|
use Session; |
|
28
|
|
|
use Siravel\Models\Blog\Category; |
|
29
|
|
|
use Siravel\Models\Blog\Post; |
|
30
|
|
|
use Siravel\Models\Negocios\Page; |
|
31
|
|
|
use Support\Elements\FormFields\After\HandlerInterface as AfterHandlerInterface; |
|
32
|
|
|
use Support\Elements\FormFields\HandlerInterface; |
|
33
|
|
|
use Support\Events\AlertsCollection; |
|
34
|
|
|
use Support\Models\DataRow; |
|
35
|
|
|
use Support\Models\DataType; |
|
36
|
|
|
use Support\Template\Actions\DeleteAction; |
|
37
|
|
|
use Support\Template\Actions\EditAction; |
|
38
|
|
|
use Support\Template\Actions\RestoreAction; |
|
39
|
|
|
use Support\Template\Actions\ViewAction; |
|
40
|
|
|
use Translation\Traits\HasTranslations; |
|
41
|
|
|
use View; |
|
42
|
|
|
|
|
43
|
|
|
class Gamer |
|
44
|
|
|
{ |
|
45
|
|
|
protected $filesystem; |
|
46
|
|
|
|
|
47
|
|
|
|
|
48
|
|
|
|
|
49
|
|
|
public function __construct() |
|
50
|
|
|
{ |
|
51
|
|
|
$this->filesystem = app(Filesystem::class); |
|
52
|
|
|
} |
|
53
|
|
|
} |
|
54
|
|
|
|