CoreFiles by mySites.guru
InformationalChunk.php32 lines, 648 bytes, from Joomla_5.2.2-Stable-Full_Package.zip
Raw History Compare with 5.2.1
md5
2a50adeefe83d44a33294678477dc2c6
sha1
11926676a90055bd8e96c88c072f7902d5904a64
sha256
1c4d18bf77c79e548ca9adb9e69d88004a9896f259734977134c0604a25b219e
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\HttpClient\Chunk;

/**
 * @author Nicolas Grekas <[email protected]>
 *
 * @internal
 */
class InformationalChunk extends DataChunk
{
    private array $status;

    public function __construct(int $statusCode, array $headers)
    {
        $this->status = [$statusCode, $headers];
    }

    public function getInformationalStatus(): ?array
    {
        return $this->status;
    }
}

The same content is in 87 releases, Joomla 5.1.0-beta1 to 6.0.0-alpha3. See them all, or every version of this file.