CoreFiles by mySites.guru
FalseObject.php39 lines, 758 bytes, from Joomla_4.0.0-beta1-Beta-Full_Package.zip
Raw History Compare with 3.9.0-beta4
md5
7411bb3a63eae9cd793429ce26e4ae14
sha1
3318610339ffc89911d2663d1ee52e942bad0dd4
sha256
aadf0096f9a9446037d6316af2362b1dfe663e38bfe165c8b345a4c2eb0ebbcf
<?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 FalseObject extends Base
{
    public function __construct()
    {
        parent::__construct(20, null);
    }

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

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

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

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.