public function isNew($entity_creation_time, $history_creation_time)
    {
        $lifespan = $this->getLifespan();

        if (empty($history_creation_time)) {
            return (GC_TIME - $entity_creation_time) <= $lifespan;
        }

        return (GC_TIME - $history_creation_time) > $lifespan;
    }
public function isNew($entity_creation_time, $history_creation_time)
    {
        $lifespan = $this->getLifespan();

        if (empty($history_creation_time)) {
            return (GC_TIME - $entity_creation_time) <= $lifespan;
        }

        return (GC_TIME - $history_creation_time) > $lifespan;
    }
public function isNew ( $ entity_creation_time , $ history_creation_time ) { $ lifespan = $ this -> getLifespan ( ) ; if ( empty ( $ history_creation_time ) ) { return ( GC_TIME - $ entity_creation_time ) <= $ lifespan ; } return ( GC_TIME - $ history_creation_time ) > $ lifespan ; }
Whether an entity is new
@param int $entity_creation_time
@param int|null $history_creation_time
@return bool
Whether an entity is new