php-kafka/php-avro-schema-generator

View on GitHub
src/PhpClass/PhpClassPropertyInterface.php

Summary

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

declare(strict_types=1);

namespace PhpKafka\PhpAvroSchemaGenerator\PhpClass;

interface PhpClassPropertyInterface
{
    public const NO_DEFAULT = 'there-was-no-default-set';
    public const EMPTY_STRING_DEFAULT = 'empty-string-default';


    /**
     * @return mixed
     */
    public function getPropertyDefault();

    public function getPropertyDoc(): ?string;

    public function getPropertyLogicalType(): ?string;

    public function getPropertyName(): string;

    /**
     * @return string[]|string
     */
    public function getPropertyType();
}