PATH:
home
/
lab2454c
/
netxzero.com
/
carbon-credit
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
<?php namespace Illuminate\Routing; class ControllerMiddlewareOptions { /** * The middleware options. * * @var array */ protected $options; /** * Create a new middleware option instance. * * @param array $options * @return void */ public function __construct(array &$options) { $this->options = &$options; } /** * Set the controller methods the middleware should apply to. * * @param array|string|dynamic $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 array|string|dynamic $methods * @return $this */ public function except($methods) { $this->options['except'] = is_array($methods) ? $methods : func_get_args(); return $this; } }
[+]
Exceptions
[-] ControllerDispatcher.php
[edit]
[-] RouteParameterBinder.php
[edit]
[-] composer.json
[edit]
[-] CompiledRouteCollection.php
[edit]
[-] ImplicitRouteBinding.php
[edit]
[-] RouteUri.php
[edit]
[-] RouteGroup.php
[edit]
[-] PendingResourceRegistration.php
[edit]
[+]
..
[-] Redirector.php
[edit]
[-] MiddlewareNameResolver.php
[edit]
[-] ViewController.php
[edit]
[-] Route.php
[edit]
[-] Pipeline.php
[edit]
[+]
Matching
[-] RouteSignatureParameters.php
[edit]
[-] RouteDependencyResolverTrait.php
[edit]
[-] CreatesRegularExpressionRouteConstraints.php
[edit]
[+]
Events
[-] ResourceRegistrar.php
[edit]
[-] RouteFileRegistrar.php
[edit]
[+]
Middleware
[-] Controller.php
[edit]
[-] RouteRegistrar.php
[edit]
[-] RouteUrlGenerator.php
[edit]
[-] LICENSE.md
[edit]
[+]
Contracts
[+]
Console
[-] ResponseFactory.php
[edit]
[-] SortedMiddleware.php
[edit]
[-] RoutingServiceProvider.php
[edit]
[-] UrlGenerator.php
[edit]
[-] AbstractRouteCollection.php
[edit]
[-] RouteBinding.php
[edit]
[-] RouteCollectionInterface.php
[edit]
[-] RedirectController.php
[edit]
[-] RouteCollection.php
[edit]
[-] RouteAction.php
[edit]
[-] Router.php
[edit]
[-] ControllerMiddlewareOptions.php
[edit]