Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/vendor/theseer/../egulias/../symfony/mime/../../iyzico/../maennchen/.././nunomaduro/../symfony/http-kernel/DataCollector/./../Attribute/../Bundle/../Attribute
الملفات الموجودة في هذا الـ Path:
.
..
AsController.php
AsTargetedValueResolver.php
Cache.php
MapDateTime.php
MapQueryParameter.php
MapQueryString.php
MapRequestPayload.php
ValueResolver.php
WithHttpStatus.php
WithLogLevel.php
مشاهدة ملف: WithHttpStatus.php
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\HttpKernel\Attribute;
/**
* @author Dejan Angelov <angelovdejan@protonmail.com>
*/
#[\Attribute(\Attribute::TARGET_CLASS)]
class WithHttpStatus
{
/**
* @param array<string, string> $headers
*/
public function __construct(
public readonly int $statusCode,
public readonly array $headers = [],
) {
}
}