File: /home/accemeff/vendor/craftcms/cms/src/enums/PeriodType.php
<?php
/**
* @link https://craftcms.com/
* @copyright Copyright (c) Pixel & Tonic, Inc.
* @license https://craftcms.github.io/license/
*/
namespace craft\enums;
/**
* The PeriodType class is an abstract class that defines the various time period lengths that are available in Craft.
* This class is a poor man's version of an enum, since PHP does not have support for native enumerations.
*
* @author Pixel & Tonic, Inc. <support@pixelandtonic.com>
* @since 2.0
*/
abstract class PeriodType
{
// Constants
// =========================================================================
const Seconds = 'seconds';
const Minutes = 'minutes';
const Hours = 'hours';
const Days = 'days';
const Weeks = 'weeks';
const Months = 'months';
const Years = 'years';
}