public function getLastRegisteredTimestamp()
    {
        $points = $this->timeLine->getPoints();
        $length = count($points);
        $last = false;

        if ($length) {
            $last = end($points)->getTimestamp();
        }
        
        return $last;
    }
public function getLastRegisteredTimestamp()
    {
        $points = $this->timeLine->getPoints();
        $length = count($points);
        $last = false;

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