public function __toString() { $date = $this->expirationDate->format(DateTime::ATOM); return "{$this->resourceOwnerName}#{$this->username}#{$date}"; }