code: public function getLastRegisteredTimestamp()
      {
          $points = $this->timeLine->getPoints();
          $length = count($points);
          $last = false;
  
          if ($length) {
              $last = end($points)->getTimestamp();
          }
          
          return $last;
      }
docs: Gets the last registered timestamp
  @return bool|float $timestamp Returns the last timestamp or false if none