for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace DmitryBubyakin\Shortener;
use Illuminate\Database\Eloquent\Model;
class ShortUrl extends Model
{
protected $fillable = ['url'];
public function __construct(array $attributes = [])
parent::__construct($attributes);
$this->table = config('laravel-urls-shortener.table');
}