uawdijnntqw1x1x1
IP : 216.73.216.8
Hostname : toronto-dev2
Kernel : Linux toronto-dev2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
srv
/
users
/
craft4
/
apps
/
craft4-newsite-space
/
vendor
/
craftcms
/
commerce
/
src
/
base
/
.
/
.
/
.
/
StatTrait.php
/
/
<?php /** * @link https://craftcms.com/ * @copyright Copyright (c) Pixel & Tonic, Inc. * @license https://craftcms.github.io/license/ */ namespace craft\commerce\base; use DateTime; /** * Stat Trait * * @author Pixel & Tonic, Inc. <support@pixelandtonic.com> * @since 3.0 */ trait StatTrait { /** * @var bool */ public bool $cache = false; /** * @var int How long to cache the data, in seconds. */ public int $cacheDuration = 0; /** * @var string|null */ public ?string $dateRange = StatInterface::DATE_RANGE_TODAY; /** * @var int */ public int $weekStartDay = 1; // Monday /** * @var string */ protected string $_handle; /** * @var null|DateTime */ private ?DateTime $_startDate = null; /** * @var null|DateTime */ private ?DateTime $_endDate = null; /** * @var string|null */ private ?string $_cacheKey = null; /** * @var array|null * @since 4.2.0 */ private ?array $_orderStatuses = null; }
/srv/users/craft4/apps/craft4-newsite-space/vendor/craftcms/commerce/src/base/./././StatTrait.php