for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @copyright Copyright (c) Flipbox Digital Limited
* @license https://github.com/flipboxfactory/craft-ember/blob/master/LICENSE
* @link https://github.com/flipboxfactory/craft-ember/
*/
namespace flipbox\craft\ember\models;
use Craft;
* @author Flipbox Factory <[email protected]>
* @since 2.0.0
trait ElementAttributeTrait
{
use ElementRulesTrait, \flipbox\craft\ember\objects\ElementAttributeTrait;
* @return array
protected function elementAttributes(): array
return [
'elementId'
];
}
protected function elementAttributeLabels(): array
'elementId' => Craft::t('app', 'Element Id')