You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pixelfed/app/Models/FailedJob.php

43 lines
1.5 KiB
PHTML

<?php
namespace App\Models;
use Carbon\Carbon;
9 months ago
use Illuminate\Database\Eloquent\Model;
4 days ago
/**
* @property int $id
* @property string|null $uuid
* @property string $connection
* @property string $queue
* @property string $payload
* @property string $exception
* @property \Illuminate\Support\Carbon $failed_at
4 days ago
*
4 days ago
* @method static \Illuminate\Database\Eloquent\Builder<static>|FailedJob newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder<static>|FailedJob newQuery()
* @method static \Illuminate\Database\Eloquent\Builder<static>|FailedJob query()
* @method static \Illuminate\Database\Eloquent\Builder<static>|FailedJob whereConnection($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|FailedJob whereException($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|FailedJob whereFailedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|FailedJob whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|FailedJob wherePayload($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|FailedJob whereQueue($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|FailedJob whereUuid($value)
4 days ago
*
4 days ago
* @mixin \Eloquent
*/
class FailedJob extends Model
{
const CREATED_AT = 'failed_at';
9 months ago
const UPDATED_AT = 'failed_at';
public $timestamps = 'failed_at';
public function getFailedAtAttribute($val)
{
9 months ago
return Carbon::parse($val);
}
9 months ago
}