Cachet/app/models/Subscriber.php

16 lines
285 B
PHP
Raw Normal View History

<?php
2014-11-25 22:01:39 +00:00
use Watson\Validating\ValidatingTrait;
use Illuminate\Database\Eloquent\SoftDeletingTrait;
class Subscriber extends Eloquent {
use ValidatingTrait;
2014-11-25 16:15:36 +00:00
use SoftDeletingTrait;
protected $rules = [
'email' => 'required|email'
];
protected $fillable = ['email'];
}