for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Starpeace\Models\Eloquent\Common;
use Starpeace\Models\Eloquent\BaseModel;
class World extends BaseModel
{
protected $table = 'worlds';
protected $fillable = [ 'galaxy_id', 'map_id', 'name', 'display_name', 'use_whitelist', 'use_blacklist' ];
protected $dates = [ 'created_at', 'updated_at' ];
protected $dateFormat ='Y-m-d H:i:s';
public function getCreatedAtAttribute($value)
return $value->format('d.m.Y H:i:s');
}
public function getUpdatedAtAttribute($value)