green-directory-php/src/Model/Url.php
Maximilian Ruta 48d33c3011 First commit
2019-06-25 14:38:56 +02:00

39 lines
541 B
PHP

<?php
namespace Netzbegruenung\GreenDirectory\Model;
class Url
{
/**
* @var string
*/
protected $type;
/**
* @var string
*/
protected $url;
public function __construct(string $type, string $url)
{
$this->type = $type;
$this->url = $url;
}
/**
* @return string
*/
public function getType(): string
{
return $this->type;
}
/**
* @return string
*/
public function getUrl(): string
{
return $this->url;
}
}