PATH:
home
/
lab2454c
/
crypto.keyreum.com
/
vendor
/
yajra
/
laravel-datatables-buttons
/
src
/
Generators
<?php namespace Yajra\DataTables\Generators; use Illuminate\Console\GeneratorCommand; class DataTablesScopeCommand extends GeneratorCommand { /** * The console command name. * * @var string */ protected $name = 'datatables:scope'; /** * The console command description. * * @var string */ protected $description = 'Create a new DataTable Scope class.'; /** * The type of class being generated. * * @var string */ protected $type = 'DataTable Scope'; /** * Get the default namespace for the class. * * @param string $rootNamespace * @return string */ protected function getDefaultNamespace($rootNamespace) { return $rootNamespace . '\DataTables\Scopes'; } /** * Get the stub file for the generator. * * @return string */ protected function getStub() { if ($stubFolder = $this->laravel['config']->get('datatables-buttons.stub')) { return base_path($stubFolder . '/scopes.stub'); } return __DIR__ . '/stubs/scopes.stub'; } }
[+]
..
[-] DataTablesMakeCommand.php
[edit]
[-] DataTablesHtmlCommand.php
[edit]
[-] DataTablesScopeCommand.php
[edit]
[+]
stubs