linkmobility-php-client/src/ValueObject/StringValueObject.php

30 lignes
630 B
PHP
Brut Vue normale Historique

2022-06-20 14:47:33 +02:00
<?php
2022-07-13 10:50:45 +02:00
/**
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* https://www.d3data.de
*
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
* @author D3 Data Development - Daniel Seifert <support@shopmodule.com>
* @link https://www.oxidmodule.com
*/
2022-06-20 14:47:33 +02:00
declare(strict_types=1);
namespace D3\LinkmobilityClient\ValueObject;
abstract class StringValueObject extends ValueObject
{
public function __toString()
{
return $this->get();
}
2022-07-11 15:06:18 +02:00
public function get(): string
2022-06-20 14:47:33 +02:00
{
return $this->value;
}
}