CoreFiles by mySites.guru
TrueObject.php36 lines, 687 bytes, from Joomla_6.2.0-rc1-Release_Candidate-Full_Package.zip
Raw History Compare with 6.1.4-rc1
md5
17bf5697709fecdba6067512c921f8ec
sha1
85ca90cd3fd26385e076ae80449a9d6483717716
sha256
42a58db328bcded34cb2de4a68fe9f3a407a6e8f9471747c015549af8783e6dd
<?php

declare(strict_types=1);

namespace CBOR\OtherObject;

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

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

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

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

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

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

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.