CoreFiles by mySites.guru
FalseObject.php36 lines, 691 bytes, from Joomla_6.1.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 6.1.0-alpha1
md5
aa742d054de80d98962cc65d61b2172d
sha1
b2708b85d3c9f622a4371e07c344f4c9cf5aeb4f
sha256
5a4ca07b89956cc5967814d5a724245f8320183c47de7e7d5f31c7f6579debd1
<?php

declare(strict_types=1);

namespace CBOR\OtherObject;

use CBOR\Normalizable;
use CBOR\OtherObject as Base;

final class FalseObject extends Base implements Normalizable
{
    public function __construct()
    {
        parent::__construct(self::OBJECT_FALSE, null);
    }

    public static function create(): self
    {
        return new self();
    }

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

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

    public function normalize(): bool
    {
        return false;
    }
}

The same content is in 158 releases, Joomla 5.0.0-alpha1 to 6.3.0-alpha1. See them all, or every version of this file.