Files
newznab-tmux/app/Models/GamesInfo.php
T
DariusIII 49ea718ce7 Apply fixes from StyleCI
[ci skip] [skip ci]
2018-02-23 09:39:42 +00:00

45 lines
631 B
PHP

<?php
namespace App\Models;
use Laravel\Scout\Searchable;
use Illuminate\Database\Eloquent\Model;
class GamesInfo extends Model
{
use Searchable;
/**
* @var string
*/
protected $table = 'gamesinfo';
/**
* @var bool
*/
protected $dateFormat = false;
/**
* @var array
*/
protected $guarded = [];
/**
* @return string
*/
public function searchableAs()
{
return 'ix_title_ft';
}
/**
* @return array
*/
public function toSearchableArray()
{
return [
'title' => $this->title,
];
}
}