public function registerCustom(): void
    {
        if (!$fn = $this->group) {
            return;
        }

        $this->router->group([], function () use ($fn) {
            $fn(new RouteRegistrar(
                $this->router,
                ['controller' => $this->controller()],
                [self::PARAM_RESOURCE_TYPE => $this->resourceType]
            ));
        });
    }
public function registerCustom(): void
    {
        if (!$fn = $this->group) {
            return;
        }

        $this->router->group([], function () use ($fn) {
            $fn(new RouteRegistrar(
                $this->router,
                ['controller' => $this->controller()],
                [self::PARAM_RESOURCE_TYPE => $this->resourceType]
            ));
        });
    }
public function registerCustom ( ) : void { if ( ! $ fn = $ this -> group ) { return ; } $ this -> router -> group ( [ ] , function ( ) use ( $ fn ) { $ fn ( new RouteRegistrar ( $ this -> router , [ 'controller' => $ this -> controller ( ) ] , [ self :: PARAM_RESOURCE_TYPE => $ this -> resourceType ] ) ) ; } ) ; }
Register custom routes.

@return void
Register custom routes .