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