InteractsWithTime
trait InteractsWithTime (View source)
Методы
| int | secondsUntil(DateTimeInterface $delay) Получить количество секунд до указанной даты DateTime. | |
| int | availableAt(DateTimeInterface|int $delay) Получить временную метку UNIX для "доступно в" (available at). | |
| int | currentTime() Получить текущее системное время как временную метку UNIX. |
Подробности
protected int secondsUntil(DateTimeInterface $delay)
Получить количество секунд до указанной даты DateTime.
protected int availableAt(DateTimeInterface|int $delay)
Получить временную метку UNIX для "доступно в" (available at).
protected int currentTime()
Получить текущее системное время как временную метку UNIX.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.6/Illuminate/Queue/InteractsWithTime.html