flix-tech/avro-serde-php

View on GitHub
src/Objects/Schema/Generation/SchemaAttributeReader.php

Summary

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

declare(strict_types=1);

namespace FlixTech\AvroSerializer\Objects\Schema\Generation;

use ReflectionClass;
use ReflectionProperty;

interface SchemaAttributeReader
{
    /**
     * @param ReflectionClass<object> $class
     */
    public function readClassAttributes(ReflectionClass $class): SchemaAttributes;

    public function readPropertyAttributes(ReflectionProperty $property): SchemaAttributes;
}