edmondscommerce/doctrine-static-meta

View on GitHub
src/Entity/Embeddable/Interfaces/Objects/Geo/AddressEmbeddableInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

declare(strict_types=1);

namespace EdmondsCommerce\DoctrineStaticMeta\Entity\Embeddable\Interfaces\Objects\Geo;

use EdmondsCommerce\DoctrineStaticMeta\Entity\Embeddable\Interfaces\Objects\AbstractEmbeddableObjectInterface;

interface AddressEmbeddableInterface extends AbstractEmbeddableObjectInterface
{
    public const EMBEDDED_PROP_HOUSE_NUMBER = 'houseNumber';
    public const EMBEDDED_PROP_HOUSE_NAME   = 'houseName';
    public const EMBEDDED_PROP_STREET       = 'street';
    public const EMBEDDED_PROP_CITY         = 'city';
    public const EMBEDDED_PROP_POSTAL_AREA  = 'postalArea';
    public const EMBEDDED_PROP_POSTAL_CODE  = 'postalCode';
    public const EMBEDDED_PROP_COUNTRY_CODE = 'countryCode';
    public const DEFAULTS                   = [
        '',
        '',
        '',
        '',
        '',
        '',
        '',
    ];

    public function getHouseNumber(): string;

    public function getHouseName(): string;

    public function getStreet(): string;

    public function getCity(): string;

    public function getCountryCode(): string;

    public function getPostalCode(): string;

    public function getPostalArea(): string;
}