public function isValid()
    {
        $now = new \DateTime('now', new \DateTimeZone('UTC'));
        $timestamp = clone $this->timestamp;

        return $timestamp->add(new \DateInterval($this->validFor)) >= $now;
    }
public function isValid()
    {
        $now = new \DateTime('now', new \DateTimeZone('UTC'));
        $timestamp = clone $this->timestamp;

        return $timestamp->add(new \DateInterval($this->validFor)) >= $now;
    }
public function isValid ( ) { $ now = new \ DateTime ( 'now' , new \ DateTimeZone ( 'UTC' ) ) ; $ timestamp = clone $ this -> timestamp ; return $ timestamp -> add ( new \ DateInterval ( $ this -> validFor ) ) >= $ now ; }
Return true is timestamp is less than 10s old

@return bool
Return true is timestamp is less than 10s old