CoreFiles by mySites.guru
InformationalChunk.php34 lines, 680 bytes, from Joomla_6.1.2-Stable-Full_Package.zip
Raw History Compare with 6.1.1
md5
7bd02f1eda962bbd10d85b28e3623c86
sha1
f4c8fff0968ae337d4463e39c3d2125d9377524d
sha256
d0c3f24d3bac96a39796c67e9e2de0ff3979303760c4647707df0f7776ff366f
<?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];

        parent::__construct();
    }

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

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