32 lines
556 B
PHP
32 lines
556 B
PHP
<?php
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: marcoglietsch
|
|
* Date: 14.12.18
|
|
* Time: 23:20
|
|
*/
|
|
|
|
namespace App\Console\Commands;
|
|
|
|
use Illuminate\Console\Command;
|
|
use App\Models\Tag;
|
|
|
|
class DebugTest extends command
|
|
{
|
|
protected $signature = 'debug:test';
|
|
|
|
protected $description = 'Wird für alle möglichen Tests benutzt';
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
}
|
|
|
|
public function handle()
|
|
{
|
|
$tag = Tag::find(83);
|
|
echo $tag->name." ".$tag->order."\n";
|
|
$tag->moveToStart();
|
|
echo $tag->name." ".$tag->order."\n";
|
|
}
|
|
} |