芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/giga.mgaplay.com.br/vendor/slim/slim/Slim/Routing/RoutingResults.php
dispatcher = $dispatcher; $this->method = $method; $this->uri = $uri; $this->routeStatus = $routeStatus; $this->routeIdentifier = $routeIdentifier; $this->routeArguments = $routeArguments; } /** * @return DispatcherInterface */ public function getDispatcher(): DispatcherInterface { return $this->dispatcher; } /** * @return string */ public function getMethod(): string { return $this->method; } /** * @return string */ public function getUri(): string { return $this->uri; } /** * @return int */ public function getRouteStatus(): int { return $this->routeStatus; } /** * @return null|string */ public function getRouteIdentifier(): ?string { return $this->routeIdentifier; } /** * @param bool $urlDecode * @return string[] */ public function getRouteArguments(bool $urlDecode = true): array { if (!$urlDecode) { return $this->routeArguments; } $routeArguments = []; foreach ($this->routeArguments as $key => $value) { $routeArguments[$key] = rawurldecode($value); } return $routeArguments; } /** * @return string[] */ public function getAllowedMethods(): array { return $this->dispatcher->getAllowedMethods($this->uri); } }