Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 14... Línea 14...
14
use OpenSpout\Reader\Exception\InvalidValueException;
14
use OpenSpout\Reader\Exception\InvalidValueException;
Línea 15... Línea 15...
15
 
15
 
16
/**
16
/**
17
 * @internal
17
 * @internal
18
 */
18
 */
19
final class CellValueFormatter
19
final readonly class CellValueFormatter
20
{
20
{
21
    /**
21
    /**
22
     * Definition of all possible cell types.
22
     * Definition of all possible cell types.
23
     */
23
     */
Línea 59... Línea 59...
59
        self::XML_NODE_TEXT_TAB => "\t",
59
        self::XML_NODE_TEXT_TAB => "\t",
60
        self::XML_NODE_TEXT_LINE_BREAK => "\n",
60
        self::XML_NODE_TEXT_LINE_BREAK => "\n",
61
    ];
61
    ];
Línea 62... Línea 62...
62
 
62
 
63
    /** @var bool Whether date/time values should be returned as PHP objects or be formatted as strings */
63
    /** @var bool Whether date/time values should be returned as PHP objects or be formatted as strings */
Línea 64... Línea 64...
64
    private readonly bool $shouldFormatDates;
64
    private bool $shouldFormatDates;
65
 
65
 
Línea 66... Línea 66...
66
    /** @var ODS Used to unescape XML data */
66
    /** @var ODS Used to unescape XML data */
67
    private readonly ODS $escaper;
67
    private ODS $escaper;
68
 
68
 
69
    /**
69
    /**