# setTimeEnd()

```php
/**
 * This method is used to set the time out of the promise.
 */
public function setTimeEnd(float $timeEnd): void;
```

This is a method to use only when you really need to change the end time of a promise.
