artesaos/defender

View on GitHub
src/Defender/Pivots/AbstractDefenderPivot.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Artesaos\Defender\Pivots;

use Illuminate\Database\Eloquent\Relations\Pivot;

/**
 * Class AbstractDefenderPivot.
 */
abstract class AbstractDefenderPivot extends Pivot
{
    /**
     * @var array
     */
    protected $casts = [
        'value' => 'boolean',
    ];
    /**
     * @var array
     */
    protected $dates = [
        'expires',
    ];
}