Matthias Andreas Benkard | 1ba5381 | 2022-12-27 17:32:58 +0100 | [diff] [blame^] | 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | /** |
| 6 | * This file is part of the Carbon package. |
| 7 | * |
| 8 | * (c) Brian Nesbitt <brian@nesbot.com> |
| 9 | * |
| 10 | * For the full copyright and license information, please view the LICENSE |
| 11 | * file that was distributed with this source code. |
| 12 | */ |
| 13 | |
| 14 | namespace Carbon\Traits; |
| 15 | |
| 16 | trait DeprecatedProperties |
| 17 | { |
| 18 | /** |
| 19 | * the day of week in current locale LC_TIME |
| 20 | * |
| 21 | * @var string |
| 22 | * |
| 23 | * @deprecated It uses OS language package and strftime() which is deprecated since PHP 8.1. |
| 24 | * Use ->isoFormat('MMM') instead. |
| 25 | * Deprecated since 2.55.0 |
| 26 | */ |
| 27 | public $localeDayOfWeek; |
| 28 | |
| 29 | /** |
| 30 | * the abbreviated day of week in current locale LC_TIME |
| 31 | * |
| 32 | * @var string |
| 33 | * |
| 34 | * @deprecated It uses OS language package and strftime() which is deprecated since PHP 8.1. |
| 35 | * Use ->isoFormat('dddd') instead. |
| 36 | * Deprecated since 2.55.0 |
| 37 | */ |
| 38 | public $shortLocaleDayOfWeek; |
| 39 | |
| 40 | /** |
| 41 | * the month in current locale LC_TIME |
| 42 | * |
| 43 | * @var string |
| 44 | * |
| 45 | * @deprecated It uses OS language package and strftime() which is deprecated since PHP 8.1. |
| 46 | * Use ->isoFormat('ddd') instead. |
| 47 | * Deprecated since 2.55.0 |
| 48 | */ |
| 49 | public $localeMonth; |
| 50 | |
| 51 | /** |
| 52 | * the abbreviated month in current locale LC_TIME |
| 53 | * |
| 54 | * @var string |
| 55 | * |
| 56 | * @deprecated It uses OS language package and strftime() which is deprecated since PHP 8.1. |
| 57 | * Use ->isoFormat('MMMM') instead. |
| 58 | * Deprecated since 2.55.0 |
| 59 | */ |
| 60 | public $shortLocaleMonth; |
| 61 | } |