CoreFiles by mySites.guru
NullObject.php38 lines, 735 bytes, from Joomla_4.0.0-beta3-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta2
md5
e491b15a02a90cbafab38446461d7a59
sha1
c6bd842886411174ee8ea311646919caaf47e945
sha256
0e281e61007f7d15669a5d3a08e7dee1068c7900ba065dc20b37e82d01f6cb78
<?php

declare(strict_types=1);

/*
 * The MIT License (MIT)
 *
 * Copyright (c) 2018 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 NullObject extends Base
{
    public function __construct()
    {
        parent::__construct(22, null);
    }

    public static function supportedAdditionalInformation(): array
    {
        return [22];
    }

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

    public function getNormalizedData(bool $ignoreTags = false): void
    {
    }
}

The same content is in 3 releases, Joomla 4.0.0-beta to 4.0.0-beta3. See them all, or every version of this file.