for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Rocket\Entities;
use Illuminate\Database\Eloquent\Model;
/**
* A revision is the status of a content at a certain moment in time
*
* @property int $id The field id
* @property int $language_id the language of this revision
* @property int $content_id the content this revision is related to
* @property-read \DateTime $created_at
* @property-read \DateTime $updated_at
*/
class Revision extends Model
{
* Get the revisions for this class
public function content()
return $this->belongsTo(Content::class);
}