adrema/app/Form/Presenters/Presenter.php

15 lines
207 B
PHP
Raw Permalink Normal View History

2024-02-09 23:22:49 +01:00
<?php
namespace App\Form\Presenters;
abstract class Presenter
{
2024-02-16 14:32:16 +01:00
/** @var mixed */
2024-02-09 23:22:49 +01:00
public $value;
2024-02-16 14:32:16 +01:00
/**
* @param mixed $value
*/
2024-02-09 23:22:49 +01:00
abstract public function present($value): string;
}