public function setToken(TokenInterface $token) { if (!empty($token)) { $this->token = $token; } return $this; }