File: /home/accemeff/vendor/craftcms/cms/src/base/SavableComponentTrait.php
<?php
/**
* @link https://craftcms.com/
* @copyright Copyright (c) Pixel & Tonic, Inc.
* @license https://craftcms.github.io/license/
*/
namespace craft\base;
use DateTime;
/**
* SavableComponentTrait implements the common methods and properties for savable component classes.
*
* @author Pixel & Tonic, Inc. <support@pixelandtonic.com>
* @since 3.0
*/
trait SavableComponentTrait
{
// Properties
// =========================================================================
/**
* @var int|string|null The component’s ID (could be a temporary one: "new:X")
*/
public $id;
/**
* @var DateTime|null The date that the component was created
*/
public $dateCreated;
/**
* @var DateTime|null The date that the component was last updated
*/
public $dateUpdated;
}