original_string: public function setValue($value)
      {
          if ($value instanceof DateInterval) {
              $value = Utils::now()->add($value);
          }
  
          if ($value instanceof DateTimeInterface) {
              $value = $value->getTimestamp();
          }
  
          return parent::setValue($value);
      }
code: public function setValue($value)
      {
          if ($value instanceof DateInterval) {
              $value = Utils::now()->add($value);
          }
  
          if ($value instanceof DateTimeInterface) {
              $value = $value->getTimestamp();
          }
  
          return parent::setValue($value);
      }
code_tokens: public function setValue ( $ value ) { if ( $ value instanceof DateInterval ) { $ value = Utils :: now ( ) -> add ( $ value ) ; } if ( $ value instanceof DateTimeInterface ) { $ value = $ value -> getTimestamp ( ) ; } return parent :: setValue ( $ value ) ; }
docstring: Set the claim value, and call a validate method.
  
  @param  mixed  $value
  
  @throws \Tymon\JWTAuth\Exceptions\InvalidClaimException
  
  @return $this
docstring_tokens: Set the claim value and call a validate method .