/
githubmirror
/
framework
Обзор
Документация
Войти
/
githubmirror
/
framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
13.x
src/Illuminate/Routing/RouteFileRegistrar.php
36 строк
621 B
Andrew Brown
[12.x] remove `@return` docblocks on constructors (#55076)
19 мар 2025, 23:10
Не верифицирован
19 мар 2025, 23:10
8f0e00b
Код
Авторство
О чём код?
<?php namespace Illuminate\Routing; class RouteFileRegistrar { /** * The router instance. * * @var \Illuminate\Routing\Router */ protected $router; /** * Create a new route file registrar instance. * * @param \Illuminate\Routing\Router $router */ public function __construct(Router $router) { $this->router = $router; } /** * Require the given routes file. * * @param string $routes * @return void */ public function register($routes) { $router = $this->router; require $routes; } }