Updated VideoMove

This commit is contained in:
Deon George
2019-12-22 22:16:31 +11:00
parent 4adf66c318
commit 99ca07201e
4 changed files with 166 additions and 131 deletions

View File

@@ -3,13 +3,9 @@
namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Database\Eloquent\ModelNotFoundException;
class CatalogDump extends Command
{
// Our photo object
private $o = NULL;
/**
* The name and signature of the console command.
*
@@ -32,7 +28,7 @@ class CatalogDump extends Command
public function handle()
{
$class = 'App\Model\\'.$this->argument('type');
if (! class_exists($class))
abort(500,sprintf('No class [%s]',$this->argument('type')));