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\meta\traits;
use Craft;
* @author Flipbox Factory <[email protected]>
* @since 1.0.0
trait OwnerAttribute
{
use OwnerRules, OwnerMutator;
* @var int|null
private $ownerId;
* @return array
protected function ownerFields(): array
return [
'ownerId'
];
}
protected function ownerAttributes(): array
protected function ownerAttributeLabels(): array
'ownerId' => Craft::t('meta', 'Owner Id')