shiftpi/CountryFlags

View on GitHub
src/ShiftpiCountryFlags/Mapper/MapperInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
namespace ShiftpiCountryFlags\Mapper;

use ShiftpiCountryFlags\Entity\Flag as FlagEntity;

/**
 * MapperInterface
 * @author Andreas Rutz <andreas.rutz@posteo.de>
 * @license MIT
 */
interface MapperInterface
{
    /**
     * Returns the path of the flag or NULL if the flag was not found
     * @param string $isoCode ISO 3166 ALPHA-2 code
     * @param int $size
     * @return FlagEntity
     */
    public function getByIsoCode($isoCode, $size);
}