SampleURIGenerator example

'post',
            'patch',
            'put',
            'delete',
            'options',
            'trace',
            'connect',
            'cli',
        ];

        $tbody           = [];
        $uriGenerator    = new SampleURIGenerator();
        $filterCollector = new FilterCollector();

        $definedRouteCollector = new DefinedRouteCollector($collection);

        foreach ($definedRouteCollector->collect() as $route) {
            $sampleUri = $uriGenerator->get($route['route']);
            $filters   = $filterCollector->get($route['method']$sampleUri);

            $routeName = ($route['route'] === $route['name']) ? 'ยป' : $route['name'];

            $tbody[] = [
                
Home | Imprint | This part of the site doesn't use cookies.