*** id: 0d2ead12-8961-44b4-bb92-b01de281acac slug: /php/reference/calling/results/send-digits hide\_title: true max-toc-depth: 3 ---------------- [call]: /docs/server-sdk/v2/php/reference/calling/call#senddigits [relay-event]: /docs/server-sdk/v2/php/reference/event # Relay.Calling.SendDigitsResult This object is returned by [`sendDigits`][call] method and represents the final result of a *send digits* action. ## Methods ### getEvent Returns the last Relay Event arrived for this operation. **Parameters** *None* **Returns** [`Relay.Event`][relay-event] - Last Relay Event. **Examples** > Send some digits and then grab the last event occurred. ```php sendDigits('1234')->done(function($result) { $event = $result->getEvent(); // Inspect $event->payload .. }); ``` ### isSuccessful Return `true` if the operation has succeeded, `false` otherwise. **Parameters** *None* **Returns** `boolean` - Whether the operation has completed successfully. **Examples** > Send some digits and then check if it has ended successfully. ```php sendDigits('1234')->done(function($result) { if ($result->isSuccessful()) { // Do other things... } }); ```