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 GeoCacheStatusModifiedEntity extends AbstractEntity
{
/** @var int */
public $cacheId;
/** @var DateTime */
public $dateModified;
public $oldState;
public $newState;
public $userId;
/** @var UserEntity */
public $user;
/** @var GeoCacheReportStatusEntity */
public $statusOld;
public $statusNew;
/**
* @return bool
*/
public function isNew() : bool
return $this->cacheId === null;
}