flix-tech/avro-serde-php

View on GitHub
src/Objects/Schema/Generation/Annotations/AvroItems.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

declare(strict_types=1);

namespace FlixTech\AvroSerializer\Objects\Schema\Generation\Annotations;

use FlixTech\AvroSerializer\Objects\Schema\AttributeName;
use FlixTech\AvroSerializer\Objects\Schema\Generation\TypeOnlyAttribute;

/**
 * @Annotation
 */
final class AvroItems implements TypeOnlyAttribute
{
    use ContainsOnlyTypes;

    /**
     * {@inheritdoc}
     */
    public function name(): string
    {
        return AttributeName::ITEMS;
    }
}