/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/Asset/Exception/AssetNotFoundException.php
38 строк
1019 B
Alexandre Daubois
Use CPP where possible
23 июл 2024, 15:28
Не верифицирован
23 июл 2024, 15:28
877f6b2
Код
Авторство
О чём код?
<?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\Asset\Exception; /** * Represents an asset not found in a manifest. */ class AssetNotFoundException extends RuntimeException { /** * @param string $message Exception message to throw * @param array $alternatives List of similar defined names * @param int $code Exception code * @param \Throwable $previous Previous exception used for the exception chaining */ public function __construct( string $message, private array $alternatives = [], int $code = 0, ?\Throwable $previous = null, ) { parent::__construct($message, $code, $previous); } public function getAlternatives(): array { return $this->alternatives; } }