Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Generates a storable representation of a value
<?php serialize(mixed $value): string
<?php test('test getData', function (): void {

    $value = chart()->data($this->data)->getData();

    expect(serialize($value))->toEqual(serialize($this->data));

});



test('test getType', function (): void {