shiftpi/CountryFlags

View on GitHub
src/ShiftpiCountryFlags/Entity/Flag.php

Summary

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

/**
 * Flag entity
 * @author Andreas Rutz <andreas.rutz@posteo.de>
 * @license MIT
 */
class Flag
{
    /** @var string */
    protected $path;

    /** @var string */
    protected $mimeType;

    /** @var string */
    protected $content;

    /**
     * @param string $mimeType
     */
    public function setMimeType($mimeType)
    {
        $this->mimeType = $mimeType;
    }

    /**
     * @return string
     */
    public function getMimeType()
    {
        return $this->mimeType;
    }

    /**
     * @param string $path
     */
    public function setPath($path)
    {
        $this->path = $path;
    }

    /**
     * @return string
     */
    public function getPath()
    {
        return $this->path;
    }

    /**
     * @param string $content
     */
    public function setContent($content)
    {
        $this->content = $content;
    }

    /**
     * @return string
     */
    public function getContent()
    {
        return $this->content;
    }
}