/
githubmirror
/
framework
Обзор
Документация
Войти
/
githubmirror
/
framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
13.x
src/Illuminate/Collections/MultipleItemsFoundException.php
39 строк
716 B
Andrew Brown
[12.x] remove `@return` docblocks on constructors (#55076)
19 мар 2025, 23:10
Не верифицирован
19 мар 2025, 23:10
8f0e00b
Код
Авторство
О чём код?
<?php namespace Illuminate\Support; use RuntimeException; class MultipleItemsFoundException extends RuntimeException { /** * The number of items found. * * @var int */ public $count; /** * Create a new exception instance. * * @param int $count * @param int $code * @param \Throwable|null $previous */ public function __construct($count, $code = 0, $previous = null) { $this->count = $count; parent::__construct("$count items were found.", $code, $previous); } /** * Get the number of items found. * * @return int */ public function getCount() { return $this->count; } }