🤩 File Manager - Mr.X
PHP:
8.3.33
Server:
Apache
OS:
Linux 5.14.0-611.49.1.el9_7.x86_64
User:
websparkit
Navigate
Upload:
Upload
New File
New Folder
Editing:ControllerMiddlewareOptions.php
<?php namespace Illuminate\Routing; class ControllerMiddlewareOptions { /** * The middleware options. * * @var array */ protected $options; /** * Create a new middleware option instance. * * @param array $options */ public function __construct(array &$options) { $this->options = &$options; } /** * Set the controller methods the middleware should apply to. * * @param mixed $methods * @return $this */ public function only($methods) { $this->options['only'] = is_array($methods) ? $methods : func_get_args(); return $this; } /** * Set the controller methods the middleware should exclude. * * @param mixed $methods * @return $this */ public function except($methods) { $this->options['except'] = is_array($methods) ? $methods : func_get_args(); return $this; } }
Save Changes
Cancel
Create New File
Create New Folder