/var/www/flurhymez/vendor/laravel/framework/src/Illuminate/Routing
NameSizeModeActions
Console/-0755rm
Contracts/-0755rm
Events/-0755rm
Exceptions/-0755rm
Matching/-0755rm
Middleware/-0755rm
AbstractRouteCollection.php79500644editdlrm
CompiledRouteCollection.php91450644editdlrm
composer.json14650644editdlrm
Controller.php16600644editdlrm
ControllerDispatcher.php23090644editdlrm
ControllerMiddlewareOptions.php10130644editdlrm
CreatesRegularExpressionRouteConstraints.php18330644editdlrm
ImplicitRouteBinding.php28040644editdlrm
LICENSE.md10750644editdlrm
MiddlewareNameResolver.php31780644editdlrm
PendingResourceRegistration.php57880644editdlrm
Pipeline.php15030644editdlrm
RedirectController.php12080644editdlrm
Redirector.php73960755editdlrm
ResourceRegistrar.php149270644editdlrm
ResponseFactory.php77680644editdlrm
Route.php302410755editdlrm
RouteAction.php34420644editdlrm
RouteBinding.php27500644editdlrm
RouteCollection.php70510644editdlrm
RouteCollectionInterface.php23320644editdlrm
RouteDependencyResolverTrait.php34700644editdlrm
RouteFileRegistrar.php6410644editdlrm
RouteGroup.php26620644editdlrm
RouteParameterBinder.php31180644editdlrm
Router.php355780644editdlrm
RouteRegistrar.php74020644editdlrm
RouteSignatureParameters.php14570644editdlrm
RouteUri.php13300644editdlrm
RouteUrlGenerator.php92960644editdlrm
RoutingServiceProvider.php60840755editdlrm
SortedMiddleware.php36640644editdlrm
UrlGenerator.php204420755editdlrm
ViewController.php8690644editdlrm
Edit: /var/www/flurhymez/vendor/laravel/framework/src/Illuminate/Routing/PendingResourceRegistration.php (5788B)
name = $name; $this->options = $options; $this->registrar = $registrar; $this->controller = $controller; } /** * Set the methods the controller should apply to. * * @param array|string|dynamic $methods * @return \Illuminate\Routing\PendingResourceRegistration */ public function only($methods) { $this->options['only'] = is_array($methods) ? $methods : func_get_args(); return $this; } /** * Set the methods the controller should exclude. * * @param array|string|dynamic $methods * @return \Illuminate\Routing\PendingResourceRegistration */ public function except($methods) { $this->options['except'] = is_array($methods) ? $methods : func_get_args(); return $this; } /** * Set the route names for controller actions. * * @param array|string $names * @return \Illuminate\Routing\PendingResourceRegistration */ public function names($names) { $this->options['names'] = $names; return $this; } /** * Set the route name for a controller action. * * @param string $method * @param string $name * @return \Illuminate\Routing\PendingResourceRegistration */ public function name($method, $name) { $this->options['names'][$method] = $name; return $this; } /** * Override the route parameter names. * * @param array|string $parameters * @return \Illuminate\Routing\PendingResourceRegistration */ public function parameters($parameters) { $this->options['parameters'] = $parameters; return $this; } /** * Override a route parameter's name. * * @param string $previous * @param string $new * @return \Illuminate\Routing\PendingResourceRegistration */ public function parameter($previous, $new) { $this->options['parameters'][$previous] = $new; return $this; } /** * Add middleware to the resource routes. * * @param mixed $middleware * @return \Illuminate\Routing\PendingResourceRegistration */ public function middleware($middleware) { $middleware = Arr::wrap($middleware); foreach ($middleware as $key => $value) { $middleware[$key] = (string) $value; } $this->options['middleware'] = $middleware; return $this; } /** * Specify middleware that should be removed from the resource routes. * * @param array|string $middleware * @return $this|array */ public function withoutMiddleware($middleware) { $this->options['excluded_middleware'] = array_merge( (array) ($this->options['excluded_middleware'] ?? []), Arr::wrap($middleware) ); return $this; } /** * Add "where" constraints to the resource routes. * * @param mixed $wheres * @return \Illuminate\Routing\PendingResourceRegistration */ public function where($wheres) { $this->options['wheres'] = $wheres; return $this; } /** * Indicate that the resource routes should have "shallow" nesting. * * @param bool $shallow * @return \Illuminate\Routing\PendingResourceRegistration */ public function shallow($shallow = true) { $this->options['shallow'] = $shallow; return $this; } /** * Define the callable that should be invoked on a missing model exception. * * @param callable $callback * @return $this */ public function missing($callback) { $this->options['missing'] = $callback; return $this; } /** * Indicate that the resource routes should be scoped using the given binding fields. * * @param array $fields * @return \Illuminate\Routing\PendingResourceRegistration */ public function scoped(array $fields = []) { $this->options['bindingFields'] = $fields; return $this; } /** * Register the resource route. * * @return \Illuminate\Routing\RouteCollection */ public function register() { $this->registered = true; return $this->registrar->register( $this->name, $this->controller, $this->options ); } /** * Handle the object's destruction. * * @return void */ public function __destruct() { if (! $this->registered) { $this->register(); } } }