grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026middleware; } /** * Get the route pattern * * @return string */ public function getPattern() { return $this->pattern; } /** * Set container for use with resolveCallable * * @param ContainerInterface $container * * @return self */ public function setContainer(ContainerInterface $container) { $this->container = $container; return $this; } /** * Prepend middleware to the middleware collection * * @param callable|string $callable The callback routine * * @return static */ public function add($callable) { $this->middleware[] = new DeferredCallable($callable, $this->container); return $this; } /** * Set the route pattern * * @param string $newPattern */ public function setPattern($newPattern) { $this->pattern = $newPattern; } }