mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-02-24 03:34:12 +01:00
17 lines
297 B
PHP
17 lines
297 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Eloquent\SoftDeletingTrait;
|
|
use Watson\Validating\ValidatingTrait;
|
|
|
|
class Subscriber extends Eloquent
|
|
{
|
|
use ValidatingTrait;
|
|
use SoftDeletingTrait;
|
|
|
|
protected $rules = [
|
|
'email' => 'required|email',
|
|
];
|
|
|
|
protected $fillable = ['email'];
|
|
}
|