CoreFiles by mySites.guru
UndefinedObject.php39 lines, 762 bytes, from Joomla_4.0.0-beta3-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta2
md5
be85236332bcb6911cf5695768750efc
sha1
2612d22c6e34a84a5275cfc41ce2e51668442a69
sha256
74e433530574dca0d9a3703fcca53fe8314aaf4a04e1ae6fac8f4a8de52ea491
<?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 UndefinedObject extends Base
{
    public function __construct()
    {
        parent::__construct(23, null);
    }

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

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

    public function getNormalizedData(bool $ignoreTags = false)
    {
        return 'undefined';
    }
}

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.