for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Oc\Entity;
use DateTime;
use Oc\Repository\AbstractEntity;
/**
* Class GeoCacheCoordinatesEntity
*
* @package Oc\Entity
*/
class GeoCacheCoordinatesEntity extends AbstractEntity
{
/** @var int */
public $id;
/** @var DateTime */
public $dateCreated;
public $cacheId;
/** @var float */
public $longitude;
public $latitude;
public $restoredBy;
/** @var UserEntity */
public $user;
* @return bool
public function isNew() : bool
return $this->id === null;
}