for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Install GitHub App
<?php
/**
* Created by PhpStorm.
* User: Marky
* Date: 05/09/2017
* Time: 07:00
*/
namespace App\Model;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model as EloquentModel;
* @property integer $id
* @property string $ip_address
* @property string $browser
* @property int $page_visited
*
* @property Page $page
* @property Carbon $created_at
* @property Carbon $updated_at
* Class Request
class Agent extends EloquentModel
{
* The table associated with the model.
* @var string
protected $table = 'agents';
* @return Page|\Illuminate\Database\Eloquent\Relations\BelongsTo
public function page()
return $this->belongsTo(Page::class, 'page_visited', 'id');
}