public function __construct($token) { parent::__construct(sprintf('Token "%s" not found', $token)); $this->token = $token; }