for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Tylercd100\LERN\Models;
use Illuminate\Database\Eloquent\Model;
class ExceptionModel extends Model {
protected $connection;
protected $table;
protected $guarded = array('id');
protected $casts = array(
'data' => 'array'
);
public function __construct(array $attributes = [])
{
$this->connection = config('lern.record.connection');
$this->table = config('lern.record.table');
parent::__construct($attributes);
}