REDROOM
PHP 8.3.31
Path:
Logout
Edit File
Size: 962 B
Close
/home/getspomw/royalsquad.us/vendor/laravel/framework/src/Illuminate/Routing/Controllers/Middleware.php
Text
Base64
<?php namespace Illuminate\Routing\Controllers; use Closure; use Illuminate\Support\Arr; class Middleware { /** * Create a new controller middleware definition. * * @param \Closure|string|array $middleware * @return void */ public function __construct(public Closure|string|array $middleware, public ?array $only = null, public ?array $except = null) { } /** * Specify the only controller methods the middleware should apply to. * * @param array|string $only * @return $this */ public function only(array|string $only) { $this->only = Arr::wrap($only); return $this; } /** * Specify the controller methods the middleware should not apply to. * * @param array|string $except * @return $this */ public function except(array|string $except) { $this->except = Arr::wrap($except); return $this; } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 2
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
HasMiddleware.php
296 B
lrw-rw-rw-
2025-09-17 06:53:02
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Middleware.php
962 B
lrw-rw-rw-
2025-09-17 06:53:02
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).