mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-01 22:48:45 +02:00
N°8771 - Add Symfony form component to iTop core
- IO debug
This commit is contained in:
16
sources/Forms/Block/IO/Format/RawFormat.php
Normal file
16
sources/Forms/Block/IO/Format/RawFormat.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace Combodo\iTop\Forms\Block\IO\Format;
|
||||
|
||||
class RawFormat
|
||||
{
|
||||
public function __construct(public string $oValue)
|
||||
{
|
||||
// validation du format sinon exception
|
||||
}
|
||||
|
||||
public function __toString(): string
|
||||
{
|
||||
return strval($this->oValue);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user