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 GeoCacheAdoptionsEntity
*
* @package Oc\Entity
*/
class GeoCacheAdoptionsEntity extends AbstractEntity
{
/** @var int */
public $id;
public $cacheId;
/** @var DateTime */
public $date;
public $fromUserId;
public $toUserId;
/** @var UserEntity */
public $fromUser;
public $toUser;
* @return bool
public function isNew() : bool
return $this->id === null;
}