Return all derived attributes from the DOB e.g 'Age Over', 'Age Under'
As a list of AgeVerification

@return array
e.g [
'age_under:18' => new AgeVerification(...),
'age_over:50' => new AgeVerification(...),
...
]
7721
public function getAgeVerifications()
    {
        return isset($this->profileData[self::ATTR_AGE_VERIFICATIONS])
            ? $this->profileData[self::ATTR_AGE_VERIFICATIONS] : [];
    }
1263610
public function getAttributes()
    {
        return [
            Attributes\IdAttribute::make(),
            Attributes\TextAttribute::make('name')
                ->setRequired(true),
            Attributes\LongTextAttribute::make('description'),
            Attributes\BelongsToAttribute::make('invoice_id')
                ->setRelationName('invoice')
                ->setRelationManager(InvoiceManager::class)
                ->setRequired(true),
            Attributes\BelongsToAttribute::make('invoice_container_id')
                ->setRelationName('invoice_container')
                ->setRelationManager(InvoiceContainerManager::class)
                ->setRequired(true),
            Attributes\BelongsToAttribute::make('tax_id')
                ->setRelationName('tax')
                ->setRelationManager(TaxManager::class)
                ->setRequired(true),
            AmethystAttributes\TaxonomyAttribute::make('unit_id', Config::get('amethyst.invoice.taxonomies.1.name'))
                ->setRelationName('unit')
                ->setRequired(true),
            Attributes\NumberAttribute::make('price')
                ->setRequired(true),
            Attributes\NumberAttribute::make('quantity')
                ->setRequired(true),
            Attributes\CreatedAtAttribute::make(),
            Attributes\UpdatedAtAttribute::make(),
            Attributes\DeletedAtAttribute::make(),
        ];
    }
487787
private function gedcomHead(): array
    {
        $title   = '';
        $version = '';
        $source  = '';

        $head = GedcomRecord::getInstance('HEAD', $this->tree);

        if ($head instanceof GedcomRecord) {
            $sour = $head->facts(['SOUR'])->first();

            if ($sour instanceof Fact) {
                $source  = $sour->value();
                $title   = $sour->attribute('NAME');
                $version = $sour->attribute('VERS');
            }
        }

        return [
            $title,
            $version,
            $source,
        ];
    }
1102857
protected function getDeletedEventAttributes(): array
    {
        $old = [];

        foreach ($this->attributes as $attribute => $value) {
            if ($this->isAttributeAuditable($attribute)) {
                $old[$attribute] = $value;
            }
        }

        return [
            $old,
            [],
        ];
    }
530856
public function getAttributes()
    {
        $sActCat = $this->getId();

        $sKey = md5($sActCat . serialize(\OxidEsales\Eshop\Core\Registry::getSession()->getVariable('session_attrfilter')));
        if (!isset(self::$_aCatAttributes[$sKey])) {
            $oAttrList = oxNew(\OxidEsales\Eshop\Application\Model\AttributeList::class);
            $oAttrList->getCategoryAttributes($sActCat, $this->getLanguage());
            self::$_aCatAttributes[$sKey] = $oAttrList;
        }

        return self::$_aCatAttributes[$sKey];
    }
496956
public function getAttributes(): array
    {
        $attributes = [];
        foreach ($this->wires as $address => $amount) {
            $attributes['wires'][$address] = AdsConverter::clicksToAds($amount);
        }

        return $attributes;
    }
733864
protected function fetchSregAttributes()
    {
        $attributes = [];
        $sregToAx = array_flip($this->axToSregMap);
        foreach ($this->data as $key => $value) {
            $keyMatch = 'openid_sreg_';
            if (strncmp($key, $keyMatch, strlen($keyMatch))) {
                continue;
            }
            $key = substr($key, strlen($keyMatch));
            if (!isset($sregToAx[$key])) {
                // The field name isn't part of the SREG spec, so we ignore it.
                continue;
            }
            $attributes[$sregToAx[$key]] = $value;
        }

        return $attributes;
    }
336450
public function roles(): array
    {
        return array_merge(array(),
            ...array_map(
                function (Attribute $attr) {
                    return $attr->values();
                }, $this->allOf(AttributeType::OID_ROLE)));
    }
828839
private function ect(): array
    {
        $ect = "max-age={$this->security['ect']['max-age']}";
        if ($this->security['ect']['enforce']) {
            $ect .= ', enforce';
        }

        if (! empty($this->security['ect']['report-uri'])) {
            $ect .= sprintf(', report-uri="%s"', $this->security['ect']['report-uri']);
        }

        return ['Expect-CT' => $ect];
    }
958909
protected function extractAutoIDs()
    {
        $arr_ids = [];
        foreach($this->obj_last_response->getDeprecatedMutationResult()->getInsertAutoIdKeyList() as $obj_key) {
            $arr_key_path = $obj_key->getPathElementList();
            $obj_path_end = end($arr_key_path);
            $arr_ids[] = $obj_path_end->getId();
        }
        return $arr_ids;
    }
47175
public function getAuthKeyRules()
    {
        if (!is_string($this->authKeyAttribute) || empty($this->authKeyAttribute)) {
            return [];
        }
        if (empty($this->authKeyRules)) {
            $this->authKeyRules = [
                [[$this->authKeyAttribute], 'required'],
                [[$this->authKeyAttribute], 'string', 'max' => 40],
            ];
        }
        return $this->authKeyRules;
    }
75026
public function defaultAttributeLabels()
    {
        return [
            'id' => Yii::t('hipanel', 'ID'),
            'remoteid' => Yii::t('hipanel', 'Remote ID'),
            'client' => Yii::t('hipanel', 'Client'),
            'client_id' => Yii::t('hipanel', 'Client'),
            'seller' => Yii::t('hipanel', 'Reseller'),
            'seller_id' => Yii::t('hipanel', 'Reseller'),
            'domain' => Yii::t('hipanel', 'Domain name'),
            'hdomain' => Yii::t('hipanel', 'Domain name'),
            'ns' => Yii::t('hipanel', 'Name Server'),
            'nss' => Yii::t('hipanel', 'Name Servers'),
            'server' => Yii::t('hipanel', 'Server'),
            'account' => Yii::t('hipanel', 'Account'),
            'service' => Yii::t('hipanel', 'Service'),
            'tariff' => Yii::t('hipanel', 'Tariff'),
            'contact' => Yii::t('hipanel', 'Contact'),
            'article' => Yii::t('hipanel', 'Article'),
            'host' => Yii::t('hipanel', 'Host'),
            'bill' => Yii::t('hipanel', 'Bill'),
            'backup' => Yii::t('hipanel', 'Backup'),
            'backuping' => Yii::t('hipanel', 'Backuping'),
            'crontab' => Yii::t('hipanel', 'Crontab'),
            'ip' => Yii::t('hipanel', 'IP'),
            'ips' => Yii::t('hipanel', 'IPs'),
            'mail' => Yii::t('hipanel', 'Mail'),
            'request' => Yii::t('hipanel', 'Request'),
            'db' => Yii::t('hipanel', 'Database'),
            'state' => Yii::t('hipanel', 'Status'),
            'status' => Yii::t('hipanel', 'Status'),
            'states' => Yii::t('hipanel', 'Statuses'),
            'type' => Yii::t('hipanel', 'Type'),
            'types' => Yii::t('hipanel', 'Types'),
            'note' => Yii::t('hipanel', 'Note'),
            'descr' => Yii::t('hipanel', 'Description'),
            'comment' => Yii::t('hipanel', 'Comment'),
            'created_date' => Yii::t('hipanel', 'Registered'),
            'updated_date' => Yii::t('hipanel', 'Last update'),
        ];
    }
960551
public function getAttributes(): array
    {
        $attributes = [];
        foreach ($this->attributes as $attributeName => $attribute) {
            $value = $attribute->value;
            $attributes[$attributeName] = $value !== '' ? (strstr($value, 'html5-dom-document-internal-entity') !== false ? $this->updateResult($value) : $value) : '';
        }
        return $attributes;
    }
1000566
public function getAttributes()
    {
        $categorizableConfig = Config::get('amethyst.category.data.categorizable.attributes.categorizable.options');

        return [
            Attributes\IdAttribute::make(),
            Attributes\BelongsToAttribute::make('category_id')
                ->setRelationName('category')
                ->setRelationManager(CategoryManager::class)
                ->setRequired(true),
            Attributes\EnumAttribute::make('categorizable_type', array_keys($categorizableConfig))
                ->setRequired(true),
            Attributes\MorphToAttribute::make('categorizable_id')
                ->setRelationKey('categorizable_type')
                ->setRelationName('categorizable')
                ->setRelations($categorizableConfig)
                ->setRequired(true),
            Attributes\CreatedAtAttribute::make(),
            Attributes\UpdatedAtAttribute::make(),
            Attributes\DeletedAtAttribute::make(),
        ];
    }
802193
public function getSignatureBase() {
		$fields = array();

		if ($this->eetStatus !== null) {
			$fields[] = $this->eetStatus;
		}
		if ($this->data) {
			$fields[] = $this->data->getSignatureBase();
		}
		if ($this->verificationMode !== null) {
			$fields[] = $this->verificationMode ? 'true' : 'false';
		}
		if ($this->vatId) {
			$fields[] = $this->vatId;
		}
		if ($this->receiptNumber) {
			$fields[] = $this->receiptNumber;
		}
		if ($this->receiptTime) {
			if (isset($this->rawData['receiptTime']) and $this->rawData['receiptTime']) {
				$fields[] = $this->rawData['receiptTime'];
			} else {
				$fields[] = self::formatTime($this->receiptTime);
			}
		}
		if ($this->evidenceMode !== null) {
			$fields[] = $this->evidenceMode;
		}
		if ($this->uuid !== null) {
			$fields[] = $this->uuid;
		}
		if ($this->sendTime) {
			if (isset($this->rawData['sendTime']) and $this->rawData['sendTime']) {
				$fields[] = $this->rawData['sendTime'];
			} else {
				$fields[] = self::formatTime($this->sendTime);
			}
		}
		if ($this->acceptTime) {
			if (isset($this->rawData['acceptTime']) and $this->rawData['acceptTime']) {
				$fields[] = $this->rawData['acceptTime'];
			} else {
				$fields[] = self::formatTime($this->acceptTime);
			}
		}
		if ($this->bkp) {
			$fields[] = $this->bkp;
		}
		if ($this->pkp) {
			$fields[] = $this->pkp;
		}
		if ($this->fik) {
			$fields[] = $this->fik;
		}
		if ($this->rejectTime) {
			if (isset($this->rawData['rejectTime']) and $this->rawData['rejectTime']) {
				$fields[] = $this->rawData['rejectTime'];
			} else {
				$fields[] = self::formatTime($this->rejectTime);
			}
		}
		if ($this->error) {
			$fields[] = $this->error->getSignatureBase();
		}
		if ($this->warning) {
			foreach ($this->warning as $w) {
				$fields[] = $w->getSignatureBase();
			}
		}

		return implode('|', $fields);
	}
23224
public function getAuthorAttribute()
    {
        return (object) [
            'name' => is_int($this->user_id) ? $this->user->name : $this->name,
            'profile' => is_int($this->user_id) ? $this->user->profile : $this->name,
            'avatar' => is_int($this->user_id) ? $this->user->avatar : get_avatar($this->email),
            'isOnline' => is_int($this->user_id) ? $this->user->isOnline() : false,
        ];
    }
1144395
public function getAttributes(): array
    {
        $attributes = [];
        $attributes['message_id'] = $this->messageId;
        if ($this->blockId) {
            $attributes['block'] = $this->blockId;
        }
        return $attributes;
    }