CoreFiles by mySites.guru
GenericObject.php34 lines, 706 bytes, from Joomla_4.2.3-Stable-Full_Package.zip
Raw History Compare with 4.2.2
md5
8a37ddf8e7fb2927f0490d3a6660bf60
sha1
bf2bfb08224977765f412665c35f5d92da293159
sha256
80c9b0a01f2ab12bdad78cd72988fe9fd8828d9e3c30816f3539ee66604f66f3
<?php

declare(strict_types=1);

/*
 * The MIT License (MIT)
 *
 * Copyright (c) 2018-2020 Spomky-Labs
 *
 * This software may be modified and distributed under the terms
 * of the MIT license.  See the LICENSE file for details.
 */

namespace CBOR\OtherObject;

use CBOR\OtherObject as Base;

final class GenericObject extends Base
{
    public static function supportedAdditionalInformation(): array
    {
        return [];
    }

    public static function createFromLoadedData(int $additionalInformation, ?string $data): Base
    {
        return new self($additionalInformation, $data);
    }

    public function getNormalizedData(bool $ignoreTags = false)
    {
        return $this->data;
    }
}

The same content is in 128 releases, Joomla 4.0.0-beta4 to 4.4.14. See them all, or every version of this file.