$routeName null
$router CodeIgniter\Router\Router#63 (13)
  • Properties (13)
  • Methods (25)
  • Class constants (1)
  • protected collection -> CodeIgniter\Router\RouteCollection#49 (24)
    • Properties (24)
    • Methods (61)
    • protected defaultNamespace -> string (16) "App\Controllers\"
      protected defaultController -> string (4) "Home"
      protected defaultMethod -> string (5) "index"
      protected defaultPlaceholder -> string (3) "any"
      protected translateURIDashes -> boolean false
      protected autoRoute -> boolean false
      protected override404 -> null
      protected routeFiles -> array (1)
      0 => string (82) "/home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/app/Config/Rout...
      • File (192B)
      • Contents
      • -rw-r--r-- 1009 1006 192 Jan 04 16:00 /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/app/Config/Routes.php
        
      • /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/app/Config/Routes.php
        
      protected placeholders -> array (6)
      any => string (2) ".*"
      segment => string (5) "[^/]+"
      alphanum => string (12) "[a-zA-Z0-9]+"
      num => string (6) "[0-9]+"
      alpha => string (9) "[a-zA-Z]+"
      hash => string (5) "[^/]+"
      protected routes -> array (11)
      * => array (0)
      OPTIONS => array (0)
      GET => array (1)
      __hot-reload => array (3)
      name => string (12) "__hot-reload"
      handler() => Closure#52 .../app/Config/Events.php:50
      • Methods (4)
      • Static methods (2)
      from => string (12) "__hot-reload"
      HEAD => array (0)
      POST => array (0)
      PATCH => array (0)
      PUT => array (0)
      DELETE => array (0)
      TRACE => array (0)
      CONNECT => array (0)
      CLI => array (0)
      protected routesNames -> array (11)
      * => array (0)
      OPTIONS => array (0)
      GET => array (1)
      __hot-reload => string (12) "__hot-reload"
      HEAD => array (0)
      POST => array (0)
      PATCH => array (0)
      PUT => array (0)
      DELETE => array (0)
      TRACE => array (0)
      CONNECT => array (0)
      CLI => array (0)
      protected routesOptions -> array (1)
      GET => array (1)
      __hot-reload => array (0)
      protected HTTPVerb -> string (3) "GET"
      public defaultHTTPMethods -> array (10)
      0 => string (3) "GET"
      1 => string (4) "HEAD"
      2 => string (4) "POST"
      3 => string (5) "PATCH"
      4 => string (3) "PUT"
      5 => string (6) "DELETE"
      6 => string (7) "OPTIONS"
      7 => string (5) "TRACE"
      8 => string (7) "CONNECT"
      9 => string (3) "CLI"
      protected group -> null
      protected currentSubdomain -> null
      protected currentOptions -> null
      protected didDiscover -> boolean false
      protected fileLocator -> CodeIgniter\Autoloader\FileLocator#6 (2)
      • Properties (2)
      • Methods (10)
      • protected autoloader -> CodeIgniter\Autoloader\Autoloader#2 (4)
        • Properties (4)
        • Methods (18)
        • protected prefixes -> array (10)
          CodeIgniter => array (1)
          0 => string (98) "/home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigni...
          • Directory
          • Contents
          • drwxr-xr-x 1009 1006 4096 Jan 04 14:51 /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system
            
          • /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/
            
          Config => array (1)
          0 => string (72) "/home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/app/Config/"
          • Directory
          • drwxr-xr-x 1009 1006 4096 Jan 04 14:51 /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/app/Config
            
          App => array (1)
          0 => string (65) "/home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/app/"
          • Directory
          • drwxr-xr-x 1009 1006 4096 Jan 04 14:51 /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/app
            
          Tests\Support => array (1)
          0 => string (98) "/home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/composer...
          • Directory
          • Contents
          • drwxr-xr-x 1009 1006 4096 Jan 04 14:50 /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/tests/_support
            
          • /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/composer/../../tests/_support/
            
          Psr\Log => array (1)
          0 => string (92) "/home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/composer...
          • Directory
          • Contents
          • drwxr-xr-x 1009 1006 4096 Jan 04 14:51 /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/psr/log/src
            
          • /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/composer/../psr/log/src/
            
          Psr\Container => array (1)
          0 => string (98) "/home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/composer...
          • Directory
          • Contents
          • drwxr-xr-x 1009 1006 4096 Jan 04 14:51 /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/psr/container/src
            
          • /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/composer/../psr/container/src/
            
          PhpParser => array (1)
          0 => string (111) "/home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/composer...
          • Directory
          • Contents
          • drwxr-xr-x 1009 1006 4096 Jan 04 14:51 /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/nikic/php-parser/lib/PhpParser
            
          • /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/composer/../nikic/php-parser/lib/PhpParser/
            
          Laminas\Escaper => array (1)
          0 => string (108) "/home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/composer...
          • Directory
          • Contents
          • drwxr-xr-x 1009 1006 4096 Jan 04 14:51 /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/laminas/laminas-escaper/src
            
          • /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/composer/../laminas/laminas-escaper/src/
            
          Faker => array (1)
          0 => string (105) "/home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/composer...
          • Directory
          • Contents
          • drwxr-xr-x 1009 1006 4096 Jan 04 14:51 /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/fakerphp/faker/src/Faker
            
          • /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/composer/../fakerphp/faker/src/Faker/
            
          DeepCopy => array (1)
          0 => string (111) "/home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/composer...
          • Directory
          • Contents
          • drwxr-xr-x 1009 1006 4096 Jan 04 14:51 /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/myclabs/deep-copy/src/DeepCopy
            
          • /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/composer/../myclabs/deep-copy/src/DeepCopy/
            
          protected classmap -> array (13)
          Psr\Log\AbstractLogger => string (135) "/home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigni...
          • File (414B)
          • Contents
          • -rw-r--r-- 1009 1006 414 Dec 12 2025 /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/ThirdParty/PSR/Log/AbstractLogger.php
            
          • /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/ThirdParty/PSR/Log/AbstractLogger.php
            
          Psr\Log\InvalidArgumentException => string (145) "/home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigni...
          • File (96B)
          • Contents
          • -rw-r--r-- 1009 1006 96 Dec 12 2025 /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/ThirdParty/PSR/Log/InvalidArgumentException.php
            
          • /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/ThirdParty/PSR/Log/InvalidArgumentException.php
            
          Psr\Log\LoggerAwareInterface => string (141) "/home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigni...
          • File (231B)
          • Contents
          • -rw-r--r-- 1009 1006 231 Dec 12 2025 /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/ThirdParty/PSR/Log/LoggerAwareInterface.php
            
          • /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/ThirdParty/PSR/Log/LoggerAwareInterface.php
            
          Psr\Log\LoggerAwareTrait => string (137) "/home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigni...
          • File (347B)
          • Contents
          • -rw-r--r-- 1009 1006 347 Dec 12 2025 /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/ThirdParty/PSR/Log/LoggerAwareTrait.php
            
          • /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/ThirdParty/PSR/Log/LoggerAwareTrait.php
            
          Psr\Log\LoggerInterface => string (136) "/home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigni...
          • File (2.7KB)
          • Contents
          • -rw-r--r-- 1009 1006 2770 Dec 12 2025 /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/ThirdParty/PSR/Log/LoggerInterface.php
            
          • /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/ThirdParty/PSR/Log/LoggerInterface.php
            
          Psr\Log\LoggerTrait => string (132) "/home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigni...
          • File (2.7KB)
          • Contents
          • -rw-r--r-- 1009 1006 2755 Dec 12 2025 /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/ThirdParty/PSR/Log/LoggerTrait.php
            
          • /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/ThirdParty/PSR/Log/LoggerTrait.php
            
          Psr\Log\LogLevel => string (129) "/home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigni...
          • File (336B)
          • Contents
          • -rw-r--r-- 1009 1006 336 Dec 12 2025 /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/ThirdParty/PSR/Log/LogLevel.php
            
          • /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/ThirdParty/PSR/Log/LogLevel.php
            
          Psr\Log\NullLogger => string (131) "/home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigni...
          • File (643B)
          • Contents
          • -rw-r--r-- 1009 1006 643 Dec 12 2025 /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/ThirdParty/PSR/Log/NullLogger.php
            
          • /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/ThirdParty/PSR/Log/NullLogger.php
            
          Laminas\Escaper\Exception\ExceptionInterface => string (149) "/home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigni...
          • File (138B)
          • Contents
          • -rw-r--r-- 1009 1006 138 Dec 12 2025 /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/ThirdParty/Escaper/Exception/ExceptionInterface.php
            
          • /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/ThirdParty/Escaper/Exception/ExceptionInterface.php
            
          Laminas\Escaper\Exception\InvalidArgumentException => string (155) "/home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigni...
          • File (212B)
          • Contents
          • -rw-r--r-- 1009 1006 212 Dec 12 2025 /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/ThirdParty/Escaper/Exception/InvalidArgumentException.php
            
          • /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/ThirdParty/Escaper/Exception/InvalidArgumentException.php
            
          Laminas\Escaper\Exception\RuntimeException => string (147) "/home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigni...
          • File (196B)
          • Contents
          • -rw-r--r-- 1009 1006 196 Dec 12 2025 /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/ThirdParty/Escaper/Exception/RuntimeException.php
            
          • /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/ThirdParty/Escaper/Exception/RuntimeException.php
            
          Laminas\Escaper\EscaperInterface => string (137) "/home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigni...
          • File (2.3KB)
          • Contents
          • -rw-r--r-- 1009 1006 2350 Dec 12 2025 /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/ThirdParty/Escaper/EscaperInterface.php
            
          • /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/ThirdParty/Escaper/EscaperInterface.php
            
          Laminas\Escaper\Escaper => string (128) "/home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigni...
          • File (10.8KB)
          • Contents
          • -rw-r--r-- 1009 1006 11045 Dec 12 2025 /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/ThirdParty/Escaper/Escaper.php
            
          • /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/vendor/codeigniter4/framework/system/ThirdParty/Escaper/Escaper.php
            
          protected files -> array (0)
          protected helpers -> array (1)
          0 => string (3) "url"
        • public initialize(Config\Autoload $config, Config\Modules $modules): $this Reads in the configuration array (described above) and stores the valid parts...
          /**
           * Reads in the configuration array (described above) and stores
           * the valid parts that we'll need.
           *
           * @return $this
           */
          
          Defined in .../Autoloader/Autoloader.php:102
          private loadComposerAutoloader(Config\Modules $modules): void
          Defined in .../Autoloader/Autoloader.php:137
          public register(): void Register the loader with the SPL autoloader stack in the following order:
          /**
           * Register the loader with the SPL autoloader stack
           * in the following order:
           *
           * 1. Classmap loader
           * 2. PSR-4 autoloader
           * 3. Non-class files
           *
           * @return void
           */
          
          Defined in .../Autoloader/Autoloader.php:167
          public unregister(): void Unregisters the autoloader from the SPL autoload stack.
          /**
           * Unregisters the autoloader from the SPL autoload stack.
           */
          
          Defined in .../Autoloader/Autoloader.php:180
          public addNamespace($namespace, ?string $path = null): $this Registers namespaces with the autoloader.
          /**
           * Registers namespaces with the autoloader.
           *
           * @param array<non-empty-string, list<non-empty-string>|non-empty-string>|non-empty-string $namespace
           *
           * @return $this
           */
          
          Defined in .../Autoloader/Autoloader.php:193
          public getNamespace(?string $prefix = null): ($prefix is null ? array<non-empty-string, list<non-empty-string>> : list<non-empty-string>) Get namespaces with prefixes as keys and paths as values.
          /**
           * Get namespaces with prefixes as keys and paths as values.
           *
           * If a prefix param is set, returns only paths to the given prefix.
           *
           * @return ($prefix is null ? array<non-empty-string, list<non-empty-string>> : list<non-empty-string>)
           */
          
          Defined in .../Autoloader/Autoloader.php:223
          public removeNamespace(string $namespace): $this Removes a single namespace from the psr4 settings.
          /**
           * Removes a single namespace from the psr4 settings.
           *
           * @return $this
           */
          
          Defined in .../Autoloader/Autoloader.php:237
          public loadClassmap(string $class): void Load a class using available class mapping.
          /**
           * Load a class using available class mapping.
           *
           * @param class-string $class The fully qualified class name.
           *
           * @internal For `spl_autoload_register` use.
           */
          
          Defined in .../Autoloader/Autoloader.php:253
          public loadClass(string $class): void Loads the class file for a given class name.
          /**
           * Loads the class file for a given class name.
           *
           * @param class-string $class The fully qualified class name.
           *
           * @internal For `spl_autoload_register` use.
           */
          
          Defined in .../Autoloader/Autoloader.php:269
          protected loadInNamespace(string $class): false|non-empty-string The mapped file name on success, or boolean false on fail Loads the class file for a given class name.
          /**
           * Loads the class file for a given class name.
           *
           * @param class-string $class The fully qualified class name.
           *
           * @return false|non-empty-string The mapped file name on success, or boolean false on fail
           */
          
          Defined in .../Autoloader/Autoloader.php:281
          protected includeFile(string $file): false|non-empty-string The filename on success, false if the file is not loaded A central way to include a file. Split out primarily for testing purposes.
          /**
           * A central way to include a file. Split out primarily for testing purposes.
           *
           * @return false|non-empty-string The filename on success, false if the file is not loaded
           */
          
          Defined in .../Autoloader/Autoloader.php:312
          public sanitizeFilename(string $filename): string Check file path.
          /**
           * Check file path.
           *
           * Checks special characters that are illegal in filenames on certain
           * operating systems and special characters requiring special escaping
           * to manipulate at the command line. Replaces spaces and consecutive
           * dashes with a single dash. Trim period, dash and underscore from beginning
           * and end of filename.
           *
           * @return string The sanitized filename
           *
           * @deprecated No longer used. See https://github.com/codeigniter4/CodeIgniter4/issues/7055
           */
          
          Defined in .../Autoloader/Autoloader.php:336
          private loadComposerNamespaces(Composer\Autoload\ClassLoader $composer, array $composerPackages): void
          /**
           * @param array{only?: list<string>, exclude?: list<string>} $composerPackages
           */
          
          Defined in .../Autoloader/Autoloader.php:371
          protected discoverComposerNamespaces(): void Locates autoload information from Composer, if available.
          /**
           * Locates autoload information from Composer, if available.
           *
           * @deprecated No longer used.
           *
           * @return void
           */
          
          Defined in .../Autoloader/Autoloader.php:452
          public loadHelpers(): void Loads helpers
          /**
           * Loads helpers
           */
          
          Defined in .../Autoloader/Autoloader.php:486
          public initializeKint(bool $debug = false): void Initializes Kint
          /**
           * Initializes Kint
           */
          
          Defined in .../Autoloader/Autoloader.php:494
          private autoloadKint(): void
          Defined in .../Autoloader/Autoloader.php:507
          private configureKint(): void
          Defined in .../Autoloader/Autoloader.php:529
        private invalidClassnames -> array (0)
      • public __construct(CodeIgniter\Autoloader\Autoloader $autoloader)
        Defined in .../Autoloader/FileLocator.php:38
        public locateFile(string $file, ?string $folder = null, string $ext = 'php'): false|non-empty-string The path to the file, or false if not found. Attempts to locate a file by examining the name for a namespace and looking t...
        /**
         * Attempts to locate a file by examining the name for a namespace
         * and looking through the PSR-4 namespaced files that we know about.
         *
         * @param non-empty-string      $file   The relative file path or namespaced file to
         *                                      locate. If not namespaced, search in the app
         *                                      folder.
         * @param non-empty-string|null $folder The folder within the namespace that we should
         *                                      look for the file. If $file does not contain
         *                                      this value, it will be appended to the namespace
         *                                      folder.
         * @param string                $ext    The file extension the file should have.
         *
         * @return false|non-empty-string The path to the file, or false if not found.
         */
        
        Defined in .../Autoloader/FileLocator.php:58
        public getClassname(string $file): string Examines a file and returns the fully qualified class name.
        /**
         * Examines a file and returns the fully qualified class name.
         */
        
        Defined in .../Autoloader/FileLocator.php:129
        public search(string $path, string $ext = 'php', bool $prioritizeApp = true): array Searches through all of the defined namespaces looking for a file. Returns an...
        /**
         * Searches through all of the defined namespaces looking for a file.
         * Returns an array of all found locations for the defined file.
         *
         * Example:
         *
         *  $locator->search('Config/Routes.php');
         *  // Assuming PSR4 namespaces include foo and bar, might return:
         *  [
         *      'app/Modules/foo/Config/Routes.php',
         *      'app/Modules/bar/Config/Routes.php',
         *  ]
         *
         * @return list<non-empty-string>
         */
        
        Defined in .../Autoloader/FileLocator.php:191
        protected ensureExt(string $path, string $ext): string Ensures a extension is at the end of a filename
        /**
         * Ensures a extension is at the end of a filename
         */
        
        Defined in .../Autoloader/FileLocator.php:224
        protected getNamespaces(): list<array{prefix: non-empty-string, path: non-empty-string}> Return the namespace mappings we know about.
        /**
         * Return the namespace mappings we know about.
         *
         * @return list<array{prefix: non-empty-string, path: non-empty-string}>
         */
        
        Defined in .../Autoloader/FileLocator.php:242
        public findQualifiedNameFromPath(string $path)
        Defined in .../Autoloader/FileLocator.php:270
        public listFiles(string $path): array Scans the defined namespaces, returning a list of all files that are containe...
        /**
         * Scans the defined namespaces, returning a list of all files
         * that are contained within the subpath specified by $path.
         *
         * @return list<string> List of file paths
         */
        
        Defined in .../Autoloader/FileLocator.php:323
        public listNamespaceFiles(string $prefix, string $path): array Scans the provided namespace, returning a list of all files that are containe...
        /**
         * Scans the provided namespace, returning a list of all files
         * that are contained within the sub path specified by $path.
         *
         * @return list<non-empty-string> List of file paths
         */
        
        Defined in .../Autoloader/FileLocator.php:357
        protected legacyLocate(string $file, ?string $folder = null): false|string The path to the file, or false if not found. Checks the app folder to see if the file can be found. Only for use with file...
        /**
         * Checks the app folder to see if the file can be found.
         * Only for use with filenames that DO NOT include namespacing.
         *
         * @param non-empty-string|null $folder
         *
         * @return false|string The path to the file, or false if not found.
         */
        
        Defined in .../Autoloader/FileLocator.php:394
      protected moduleConfig -> Config\Modules#50 (4)
      • Properties (4)
      • Methods (2)
      • Static methods (1)
      • public enabled -> boolean true
        public discoverInComposer -> boolean true
        public aliases -> array (5)
        0 => string (6) "events"
        1 => string (7) "filters"
        2 => string (10) "registrars"
        3 => string (6) "routes"
        4 => string (8) "services"
        public composerPackages -> array (0)
      • public __construct()
        Inherited from CodeIgniter\Modules\Modules
        Defined in .../Modules/Modules.php:46
        public shouldDiscover(string $alias): bool Should the application auto-discover the requested resource.
        /**
         * Should the application auto-discover the requested resource.
         */
        
        Inherited from CodeIgniter\Modules\Modules
        Defined in .../Modules/Modules.php:54
      • public static CodeIgniter\Modules\Modules::__set_state(array $array)
        Defined in .../Modules/Modules.php:63
      protected prioritize -> boolean false
      protected prioritizeDetected -> boolean false
      private httpHost -> string (22) "www.ipl.rumahcerita.id"
      protected useSupportedLocalesOnly -> boolean false
    • public __construct(CodeIgniter\Autoloader\FileLocatorInterface $locator, Config\Modules $moduleConfig, Config\Routing $routing) Constructor
      /**
       * Constructor
       */
      
      Defined in .../Router/RouteCollection.php:280
      public loadRoutes(string $routesFile = '/home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/app/Config/Routes.php'): $this Loads main routes file and discover routes.
      /**
       * Loads main routes file and discover routes.
       *
       * Loads only once unless reset.
       *
       * @return $this
       */
      
      Defined in .../Router/RouteCollection.php:311
      protected discoverRoutes(): void Will attempt to discover any additional routes, either through the local PSR4...
      /**
       * Will attempt to discover any additional routes, either through
       * the local PSR4 namespaces, or through selected Composer packages.
       *
       * @return void
       */
      
      Defined in .../Router/RouteCollection.php:353
      public addPlaceholder($placeholder, ?string $pattern = null): CodeIgniter\Router\RouteCollectionInterface Registers a new constraint with the system. Constraints are used by the route...
      /**
       * Registers a new constraint with the system. Constraints are used
       * by the routes as placeholders for regular expressions to make defining
       * the routes more human-friendly.
       *
       * You can pass an associative array as $placeholder, and have
       * multiple placeholders added at once.
       *
       * @param array|string $placeholder
       */
      
      Defined in .../Router/RouteCollection.php:389
      public getPlaceholders(): array For `spark routes`
      /**
       * For `spark routes`
       *
       * @return array<string, string>
       *
       * @internal
       */
      
      Defined in .../Router/RouteCollection.php:407
      public setDefaultNamespace(string $value): CodeIgniter\Router\RouteCollectionInterface Sets the default namespace to use for Controllers when no other namespace has...
      /**
       * Sets the default namespace to use for Controllers when no other
       * namespace has been specified.
       */
      
      Defined in .../Router/RouteCollection.php:416
      public setDefaultController(string $value): CodeIgniter\Router\RouteCollectionInterface Sets the default controller to use when no other controller has been specified.
      /**
       * Sets the default controller to use when no other controller has been
       * specified.
       */
      
      Defined in .../Router/RouteCollection.php:428
      public setDefaultMethod(string $value): CodeIgniter\Router\RouteCollectionInterface Sets the default method to call on the controller when no other method has be...
      /**
       * Sets the default method to call on the controller when no other
       * method has been set in the route.
       */
      
      Defined in .../Router/RouteCollection.php:439
      public setTranslateURIDashes(bool $value): CodeIgniter\Router\RouteCollectionInterface Tells the system whether to convert dashes in URI strings into underscores. I...
      /**
       * Tells the system whether to convert dashes in URI strings into
       * underscores. In some search engines, including Google, dashes
       * create more meaning and make it easier for the search engine to
       * find words and meaning in the URI for better SEO. But it
       * doesn't work well with PHP method names....
       */
      
      Defined in .../Router/RouteCollection.php:453
      public setAutoRoute(bool $value): CodeIgniter\Router\RouteCollectionInterface If TRUE, the system will attempt to match the URI against Controllers by matc...
      /**
       * If TRUE, the system will attempt to match the URI against
       * Controllers by matching each segment against folders/files
       * in APPPATH/Controllers, when a match wasn't found against
       * defined routes.
       *
       * If FALSE, will stop searching and do NO automatic routing.
       */
      
      Defined in .../Router/RouteCollection.php:468
      public set404Override($callable = null): CodeIgniter\Router\RouteCollectionInterface Sets the class/method that should be called if routing doesn't find a match. ...
      /**
       * Sets the class/method that should be called if routing doesn't
       * find a match. It can be either a closure or the controller/method
       * name exactly like a route is defined: Users::index
       *
       * This setting is passed to the Router class and handled there.
       *
       * @param callable|string|null $callable
       */
      
      Defined in .../Router/RouteCollection.php:484
      public get404Override(): (Closure(string): (ResponseInterface|string|void))|string|null Returns the 404 Override setting, which can be null, a closure or the control...
      /**
       * Returns the 404 Override setting, which can be null, a closure
       * or the controller/string.
       *
       * @return (Closure(string): (ResponseInterface|string|void))|string|null
       */
      
      Defined in .../Router/RouteCollection.php:497
      public setDefaultConstraint(string $placeholder): CodeIgniter\Router\RouteCollectionInterface Sets the default constraint to be used in the system. Typically for use with ...
      /**
       * Sets the default constraint to be used in the system. Typically
       * for use with the 'resource' method.
       */
      
      Defined in .../Router/RouteCollection.php:506
      public getDefaultController(): string Returns the name of the default controller. With Namespace.
      /**
       * Returns the name of the default controller. With Namespace.
       */
      
      Defined in .../Router/RouteCollection.php:518
      public getDefaultMethod(): string Returns the name of the default method to use within the controller.
      /**
       * Returns the name of the default method to use within the controller.
       */
      
      Defined in .../Router/RouteCollection.php:526
      public getDefaultNamespace(): string Returns the default namespace as set in the Routes config file.
      /**
       * Returns the default namespace as set in the Routes config file.
       */
      
      Defined in .../Router/RouteCollection.php:534
      public shouldTranslateURIDashes(): bool Returns the current value of the translateURIDashes setting.
      /**
       * Returns the current value of the translateURIDashes setting.
       */
      
      Defined in .../Router/RouteCollection.php:542
      public shouldAutoRoute(): bool Returns the flag that tells whether to autoRoute URI against Controllers.
      /**
       * Returns the flag that tells whether to autoRoute URI against Controllers.
       */
      
      Defined in .../Router/RouteCollection.php:550
      public getRoutes(?string $verb = null, bool $includeWildcard = true): array Returns the raw array of available routes.
      /**
       * Returns the raw array of available routes.
       *
       * @param non-empty-string|null $verb            HTTP verb like `GET`,`POST` or `*` or `CLI`.
       * @param bool                  $includeWildcard Whether to include '*' routes.
       */
      
      Defined in .../Router/RouteCollection.php:561
      public getRoutesOptions(?string $from = null, ?string $verb = null): array Returns one or all routes options
      /**
       * Returns one or all routes options
       *
       * @param string|null $verb HTTP verb like `GET`,`POST` or `*` or `CLI`.
       *
       * @return array<string, int|string> [key => value]
       */
      
      Defined in .../Router/RouteCollection.php:608
      public getHTTPVerb(): string Returns the current HTTP Verb being used.
      /**
       * Returns the current HTTP Verb being used.
       */
      
      Defined in .../Router/RouteCollection.php:618
      public setHTTPVerb(string $verb): $this Sets the current HTTP verb. Used primarily for testing.
      /**
       * Sets the current HTTP verb.
       * Used primarily for testing.
       *
       * @param string $verb HTTP verb
       *
       * @return $this
       */
      
      Defined in .../Router/RouteCollection.php:631
      public map(array $routes = array(), ?array $options = null): CodeIgniter\Router\RouteCollectionInterface A shortcut method to add a number of routes at a single time. It does not all...
      /**
       * A shortcut method to add a number of routes at a single time.
       * It does not allow any options to be set on the route, or to
       * define the method used.
       */
      
      Defined in .../Router/RouteCollection.php:655
      public add(string $from, $to, ?array $options = null): CodeIgniter\Router\RouteCollectionInterface Adds a single route to the collection.
      /**
       * Adds a single route to the collection.
       *
       * Example:
       *      $routes->add('news', 'Posts::index');
       *
       * @param array|(Closure(mixed...): (ResponseInterface|string|void))|string $to
       */
      
      Defined in .../Router/RouteCollection.php:672
      public addRedirect(string $from, string $to, int $status = 302): RouteCollection Adds a temporary redirect from one route to another. Used for redirecting tra...
      /**
       * Adds a temporary redirect from one route to another. Used for
       * redirecting traffic from old, non-existing routes to the new
       * moved routes.
       *
       * @param string $from   The pattern to match against
       * @param string $to     Either a route name or a URI to redirect to
       * @param int    $status The HTTP status code that should be returned with this redirect
       *
       * @return RouteCollection
       */
      
      Defined in .../Router/RouteCollection.php:690
      public isRedirect(string $routeKey): bool Determines if the route is a redirecting route.
      /**
       * Determines if the route is a redirecting route.
       *
       * @param string $routeKey routeKey or route name
       */
      
      Defined in .../Router/RouteCollection.php:716
      public getRedirectCode(string $routeKey): int Grabs the HTTP status code from a redirecting Route.
      /**
       * Grabs the HTTP status code from a redirecting Route.
       *
       * @param string $routeKey routeKey or route name
       */
      
      Defined in .../Router/RouteCollection.php:738
      public group(string $name, $params): void Group a series of routes under a single URL segment. This is handy for groupi...
      /**
       * Group a series of routes under a single URL segment. This is handy
       * for grouping items into an admin area, like:
       *
       * Example:
       *     // Creates route: admin/users
       *     $route->group('admin', function() {
       *            $route->resource('users');
       *     });
       *
       * @param string         $name      The name to group/prefix the routes with.
       * @param array|callable ...$params
       *
       * @return void
       */
      
      Defined in .../Router/RouteCollection.php:770
      public resource(string $name, ?array $options = null): CodeIgniter\Router\RouteCollectionInterface Creates a collections of HTTP-verb based routes for a controller.
      /**
       * Creates a collections of HTTP-verb based routes for a controller.
       *
       * Possible Options:
       *      'controller'    - Customize the name of the controller used in the 'to' route
       *      'placeholder'   - The regex used by the Router. Defaults to '(:any)'
       *      'websafe'   -	- '1' if only GET and POST HTTP verbs are supported
       *
       * Example:
       *
       *      $route->resource('photos');
       *
       *      // Generates the following routes:
       *      HTTP Verb | Path        | Action        | Used for...
       *      ----------+-------------+---------------+-----------------
       *      GET         /photos             index           an array of photo objects
       *      GET         /photos/new         new             an empty photo object, with default properties
       *      GET         /photos/{id}/edit   edit            a specific photo object, editable properties
       *      GET         /photos/{id}        show            a specific photo object, all properties
       *      POST        /photos             create          a new photo object, to add to the resource
       *      DELETE      /photos/{id}        delete          deletes the specified photo object
       *      PUT/PATCH   /photos/{id}        update          replacement properties for existing photo
       *
       *  If 'websafe' option is present, the following paths are also available:
       *
       *      POST		/photos/{id}/delete delete
       *      POST        /photos/{id}        update
       *
       * @param string     $name    The name of the resource/controller to route to.
       * @param array|null $options A list of possible ways to customize the routing.
       */
      
      Defined in .../Router/RouteCollection.php:850
      public presenter(string $name, ?array $options = null): CodeIgniter\Router\RouteCollectionInterface Creates a collections of HTTP-verb based routes for a presenter controller.
      /**
       * Creates a collections of HTTP-verb based routes for a presenter controller.
       *
       * Possible Options:
       *      'controller'    - Customize the name of the controller used in the 'to' route
       *      'placeholder'   - The regex used by the Router. Defaults to '(:any)'
       *
       * Example:
       *
       *      $route->presenter('photos');
       *
       *      // Generates the following routes:
       *      HTTP Verb | Path        | Action        | Used for...
       *      ----------+-------------+---------------+-----------------
       *      GET         /photos             index           showing all array of photo objects
       *      GET         /photos/show/{id}   show            showing a specific photo object, all properties
       *      GET         /photos/new         new             showing a form for an empty photo object, with default properties
       *      POST        /photos/create      create          processing the form for a new photo
       *      GET         /photos/edit/{id}   edit            show an editing form for a specific photo object, editable properties
       *      POST        /photos/update/{id} update          process the editing form data
       *      GET         /photos/remove/{id} remove          show a form to confirm deletion of a specific photo object
       *      POST        /photos/delete/{id} delete          deleting the specified photo object
       *
       * @param string     $name    The name of the controller to route to.
       * @param array|null $options A list of possible ways to customize the routing.
       */
      
      Defined in .../Router/RouteCollection.php:944
      public match(array $verbs = array(), string $from = '', $to = '', ?array $options = null): CodeIgniter\Router\RouteCollectionInterface Specifies a single route to match for multiple HTTP Verbs.
      /**
       * Specifies a single route to match for multiple HTTP Verbs.
       *
       * Example:
       *  $route->match( ['GET', 'POST'], 'users/(:num)', 'users/$1);
       *
       * @param array|(Closure(mixed...): (ResponseInterface|string|void))|string $to
       */
      
      Defined in .../Router/RouteCollection.php:1018
      public get(string $from, $to, ?array $options = null): CodeIgniter\Router\RouteCollectionInterface Specifies a route that is only available to GET requests.
      /**
       * Specifies a route that is only available to GET requests.
       *
       * @param array|(Closure(mixed...): (ResponseInterface|string|void))|string $to
       */
      
      Defined in .../Router/RouteCollection.php:1050
      public post(string $from, $to, ?array $options = null): CodeIgniter\Router\RouteCollectionInterface Specifies a route that is only available to POST requests.
      /**
       * Specifies a route that is only available to POST requests.
       *
       * @param array|(Closure(mixed...): (ResponseInterface|string|void))|string $to
       */
      
      Defined in .../Router/RouteCollection.php:1062
      public put(string $from, $to, ?array $options = null): CodeIgniter\Router\RouteCollectionInterface Specifies a route that is only available to PUT requests.
      /**
       * Specifies a route that is only available to PUT requests.
       *
       * @param array|(Closure(mixed...): (ResponseInterface|string|void))|string $to
       */
      
      Defined in .../Router/RouteCollection.php:1074
      public delete(string $from, $to, ?array $options = null): CodeIgniter\Router\RouteCollectionInterface Specifies a route that is only available to DELETE requests.
      /**
       * Specifies a route that is only available to DELETE requests.
       *
       * @param array|(Closure(mixed...): (ResponseInterface|string|void))|string $to
       */
      
      Defined in .../Router/RouteCollection.php:1086
      public head(string $from, $to, ?array $options = null): CodeIgniter\Router\RouteCollectionInterface Specifies a route that is only available to HEAD requests.
      /**
       * Specifies a route that is only available to HEAD requests.
       *
       * @param array|(Closure(mixed...): (ResponseInterface|string|void))|string $to
       */
      
      Defined in .../Router/RouteCollection.php:1098
      public patch(string $from, $to, ?array $options = null): CodeIgniter\Router\RouteCollectionInterface Specifies a route that is only available to PATCH requests.
      /**
       * Specifies a route that is only available to PATCH requests.
       *
       * @param array|(Closure(mixed...): (ResponseInterface|string|void))|string $to
       */
      
      Defined in .../Router/RouteCollection.php:1110
      public options(string $from, $to, ?array $options = null): CodeIgniter\Router\RouteCollectionInterface Specifies a route that is only available to OPTIONS requests.
      /**
       * Specifies a route that is only available to OPTIONS requests.
       *
       * @param array|(Closure(mixed...): (ResponseInterface|string|void))|string $to
       */
      
      Defined in .../Router/RouteCollection.php:1122
      public cli(string $from, $to, ?array $options = null): CodeIgniter\Router\RouteCollectionInterface Specifies a route that is only available to command-line requests.
      /**
       * Specifies a route that is only available to command-line requests.
       *
       * @param array|(Closure(mixed...): (ResponseInterface|string|void))|string $to
       */
      
      Defined in .../Router/RouteCollection.php:1134
      public view(string $from, string $view, ?array $options = null): CodeIgniter\Router\RouteCollectionInterface Specifies a route that will only display a view. Only works for GET requests.
      /**
       * Specifies a route that will only display a view.
       * Only works for GET requests.
       */
      
      Defined in .../Router/RouteCollection.php:1145
      public environment(string $env, Closure $callback): CodeIgniter\Router\RouteCollectionInterface Limits the routes to a specified ENVIRONMENT or they won't run.
      /**
       * Limits the routes to a specified ENVIRONMENT or they won't run.
       *
       * @param Closure(RouteCollection): void $callback
       */
      
      Defined in .../Router/RouteCollection.php:1164
      public reverseRoute(string $search, $params): false|string The route (URI path relative to baseURL) or false if not found. Attempts to look up a route based on its destination.
      /**
       * Attempts to look up a route based on its destination.
       *
       * If a route exists:
       *
       *      'path/(:any)/(:any)' => 'Controller::method/$1/$2'
       *
       * This method allows you to know the Controller and method
       * and get the route that leads to it.
       *
       *      // Equals 'path/$param1/$param2'
       *      reverseRoute('Controller::method', $param1, $param2);
       *
       * @param string     $search    Route name or Controller::method
       * @param int|string ...$params One or more parameters to be passed to the route.
       *                              The last parameter allows you to set the locale.
       *
       * @return false|string The route (URI path relative to baseURL) or false if not found.
       */
      
      Defined in .../Router/RouteCollection.php:1192
      protected localizeRoute(string $route): string Replaces the {locale} tag with the current application locale
      /**
       * Replaces the {locale} tag with the current application locale
       *
       * @deprecated Unused.
       */
      
      Defined in .../Router/RouteCollection.php:1260
      public isFiltered(string $search, ?string $verb = null): bool Checks a route (using the "from") to see if it's filtered or not.
      /**
       * Checks a route (using the "from") to see if it's filtered or not.
       *
       * @param string|null $verb HTTP verb like `GET`,`POST` or `*` or `CLI`.
       */
      
      Defined in .../Router/RouteCollection.php:1270
      public getFiltersForRoute(string $search, ?string $verb = null): array Returns the filters that should be applied for a single route, along with any...
      /**
       * Returns the filters that should be applied for a single route, along
       * with any parameters it might have. Parameters are found by splitting
       * the parameter name on a colon to separate the filter name from the parameter list,
       * and the splitting the result on commas. So:
       *
       *    'role:admin,manager'
       *
       * has a filter of "role", with parameters of ['admin', 'manager'].
       *
       * @param string      $search routeKey
       * @param string|null $verb   HTTP verb like `GET`,`POST` or `*` or `CLI`.
       *
       * @return list<string> filter_name or filter_name:arguments like 'role:admin,manager'
       */
      
      Defined in .../Router/RouteCollection.php:1292
      protected fillRouteParams(string $from, ?array $params = null): string Given a
      /**
       * Given a
       *
       * @throws RouterException
       *
       * @deprecated Unused. Now uses buildReverseRoute().
       */
      
      Defined in .../Router/RouteCollection.php:1314
      protected buildReverseRoute(string $from, array $params): string Builds reverse route
      /**
       * Builds reverse route
       *
       * @param array $params One or more parameters to be passed to the route.
       *                      The last parameter allows you to set the locale.
       */
      
      Defined in .../Router/RouteCollection.php:1351
      private replaceLocale(string $route, ?string $locale = null): string Replaces the {locale} tag with the locale
      /**
       * Replaces the {locale} tag with the locale
       */
      
      Defined in .../Router/RouteCollection.php:1412
      protected create(string $verb, string $from, $to, ?array $options = null): void Does the heavy lifting of creating an actual route. You must specify the requ...
      /**
       * Does the heavy lifting of creating an actual route. You must specify
       * the request method(s) that this route will work for. They can be separated
       * by a pipe character "|" if there is more than one.
       *
       * @param array|(Closure(mixed...): (ResponseInterface|string|void))|string $to
       *
       * @return void
       */
      
      Defined in .../Router/RouteCollection.php:1442
      private checkHostname($hostname): bool Compares the hostname passed in against the current hostname on this page req...
      /**
       * Compares the hostname passed in against the current hostname
       * on this page request.
       *
       * @param list<string>|string $hostname Hostname in route options
       */
      
      Defined in .../Router/RouteCollection.php:1568
      private processArrayCallableSyntax(string $from, array $to): string
      Defined in .../Router/RouteCollection.php:1585
      private getMethodParams(string $from): string Returns the method param string like `/$1/$2` for placeholders
      /**
       * Returns the method param string like `/$1/$2` for placeholders
       */
      
      Defined in .../Router/RouteCollection.php:1612
      private checkSubdomains($subdomains): bool Compares the subdomain(s) passed in against the current subdomain on this pag...
      /**
       * Compares the subdomain(s) passed in against the current subdomain
       * on this page request.
       *
       * @param list<string>|string $subdomains
       */
      
      Defined in .../Router/RouteCollection.php:1632
      private determineCurrentSubdomain(): false|string the subdomain Examines the HTTP_HOST to get the best match for the subdomain. It won't be p...
      /**
       * Examines the HTTP_HOST to get the best match for the subdomain. It
       * won't be perfect, but should work for our needs.
       *
       * It's especially not perfect since it's possible to register a domain
       * with a period (.) as part of the domain name.
       *
       * @return false|string the subdomain
       */
      
      Defined in .../Router/RouteCollection.php:1665
      public resetRoutes(): void Reset the routes, so that a test case can provide the explicit ones needed fo...
      /**
       * Reset the routes, so that a test case can provide the
       * explicit ones needed for it.
       *
       * @return void
       */
      
      Defined in .../Router/RouteCollection.php:1706
      protected loadRoutesOptions(?string $verb = null): array Load routes options based on verb
      /**
       * Load routes options based on verb
       *
       * @return array<
       *     string,
       *     array{
       *         filter?: list<string>|string, namespace?: string, hostname?: string,
       *         subdomain?: string, offset?: int, priority?: int, as?: string,
       *         redirect?: int
       *     }
       * >
       */
      
      Defined in .../Router/RouteCollection.php:1733
      public setPrioritize(bool $enabled = true): $this Enable or Disable sorting routes by priority
      /**
       * Enable or Disable sorting routes by priority
       *
       * @param bool $enabled The value status
       *
       * @return $this
       */
      
      Defined in .../Router/RouteCollection.php:1760
      public getRegisteredControllers(?string $verb = '*'): array Get all controllers in Route Handlers
      /**
       * Get all controllers in Route Handlers
       *
       * @param string|null $verb HTTP verb like `GET`,`POST` or `*` or `CLI`.
       *                          `'*'` returns all controllers in any verb.
       *
       * @return list<string> controller name list
       *
       * @interal
       */
      
      Defined in .../Router/RouteCollection.php:1777
      private getControllerName($handler): string|null Controller classname
      /**
       * @param (Closure(mixed...): (ResponseInterface|string|void))|string $handler Handler
       *
       * @return string|null Controller classname
       */
      
      Defined in .../Router/RouteCollection.php:1823
      public useSupportedLocalesOnly(bool $useOnly): self Set The flag that limit or not the routes with {locale} placeholder to App::$...
      /**
       * Set The flag that limit or not the routes with {locale} placeholder to App::$supportedLocales
       */
      
      Defined in .../Router/RouteCollection.php:1837
      public shouldUseSupportedLocalesOnly(): bool Get the flag that limit or not the routes with {locale} placeholder to App::$...
      /**
       * Get the flag that limit or not the routes with {locale} placeholder to App::$supportedLocales
       */
      
      Defined in .../Router/RouteCollection.php:1847
    protected directory -> null
    protected controller -> string (4) "Home"
    protected method -> string (5) "index"
    protected params -> array (0)
    protected indexPage -> string (9) "index.php"
    protected translateURIDashes -> boolean false
    protected matchedRoute -> null
    protected matchedRouteOptions -> null
    protected detectedLocale -> null
    protected filtersInfo -> array (0)
    protected autoRouter -> null
    protected permittedURIChars -> string (14) "a-z 0-9~%.:_\-"
  • public __construct(CodeIgniter\Router\RouteCollectionInterface $routes, ?CodeIgniter\HTTP\Request $request = null) Stores a reference to the RouteCollection object.
    new \CodeIgniter\Router\Router()
    /**
     * Stores a reference to the RouteCollection object.
     */
    
    Defined in .../Router/Router.php:144
    public handle(?string $uri = null): (Closure(mixed...): (ResponseInterface|string|void))|string Controller classname or Closure Finds the controller corresponding to the URI.
    $router->handle()
    /**
     * Finds the controller corresponding to the URI.
     *
     * @param string|null $uri URI path relative to baseURL
     *
     * @return (Closure(mixed...): (ResponseInterface|string|void))|string Controller classname or Closure
     *
     * @throws BadRequestException
     * @throws PageNotFoundException
     * @throws RedirectException
     */
    
    Defined in .../Router/Router.php:197
    public getFilters(): array Returns the filter info for the matched route, if any.
    $router->getFilters()
    /**
     * Returns the filter info for the matched route, if any.
     *
     * @return list<string>
     */
    
    Defined in .../Router/Router.php:241
    public controllerName(): (Closure(mixed...): (ResponseInterface|string|void))|string Controller classname or Closure Returns the name of the matched controller or closure.
    $router->controllerName()
    /**
     * Returns the name of the matched controller or closure.
     *
     * @return (Closure(mixed...): (ResponseInterface|string|void))|string Controller classname or Closure
     */
    
    Defined in .../Router/Router.php:251
    public methodName(): string Returns the name of the method to run in the chosen controller.
    $router->methodName()
    /**
     * Returns the name of the method to run in the
     * chosen controller.
     */
    
    Defined in .../Router/Router.php:262
    public get404Override(): array{string, string}|(Closure(string): (ResponseInterface|string|void))|null Returns the 404 Override settings from the Collection. If the override is a s...
    $router->get404Override()
    /**
     * Returns the 404 Override settings from the Collection.
     * If the override is a string, will split to controller/index array.
     *
     * @return array{string, string}|(Closure(string): (ResponseInterface|string|void))|null
     */
    
    Defined in .../Router/Router.php:275
    public params(): array Returns the binds that have been matched and collected during the parsing pro...
    $router->params()
    /**
     * Returns the binds that have been matched and collected
     * during the parsing process as an array, ready to send to
     * instance->method(...$params).
     */
    
    Defined in .../Router/Router.php:300
    public directory(): string Returns the name of the sub-directory the controller is in, if any. Relative ...
    $router->directory()
    /**
     * Returns the name of the sub-directory the controller is in,
     * if any. Relative to APPPATH.'Controllers'.
     *
     * Only used when auto-routing is turned on.
     */
    
    Defined in .../Router/Router.php:311
    public getMatchedRoute(): array|null Returns the routing information that was matched for this request, if a route...
    $router->getMatchedRoute()
    /**
     * Returns the routing information that was matched for this
     * request, if a route was defined.
     *
     * @return array|null
     */
    
    Defined in .../Router/Router.php:326
    public getMatchedRouteOptions(): array|null Returns all options set for the matched route
    $router->getMatchedRouteOptions()
    /**
     * Returns all options set for the matched route
     *
     * @return array|null
     */
    
    Defined in .../Router/Router.php:336
    public setIndexPage($page): self Sets the value that should be used to match the index.php file. Defaults to i...
    $router->setIndexPage()
    /**
     * Sets the value that should be used to match the index.php file. Defaults
     * to index.php but this allows you to modify it in case you are using
     * something like mod_rewrite to remove the page. This allows you to set
     * it a blank.
     *
     * @param string $page
     */
    
    Defined in .../Router/Router.php:349
    public setTranslateURIDashes(bool $val = false): self Tells the system whether we should translate URI dashes or not in the URI fro...
    $router->setTranslateURIDashes()
    /**
     * Tells the system whether we should translate URI dashes or not
     * in the URI from a dash to an underscore.
     *
     * @deprecated This method should be removed.
     */
    
    Defined in .../Router/Router.php:362
    public hasLocale(): bool Returns true/false based on whether the current route contained a {locale} pl...
    $router->hasLocale()
    /**
     * Returns true/false based on whether the current route contained
     * a {locale} placeholder.
     *
     * @return bool
     */
    
    Defined in .../Router/Router.php:379
    public getLocale(): string Returns the detected locale, if any, or null.
    $router->getLocale()
    /**
     * Returns the detected locale, if any, or null.
     *
     * @return string
     */
    
    Defined in .../Router/Router.php:389
    protected checkRoutes(string $uri): bool Checks Defined Routes.
    /**
     * Checks Defined Routes.
     *
     * Compares the uri string against the routes that the
     * RouteCollection class defined for us, attempting to find a match.
     * This method will modify $this->controller, etal as needed.
     *
     * @param string $uri The URI path to compare against the routes
     *
     * @return bool Whether the route was matched or not.
     *
     * @throws RedirectException
     */
    
    Defined in .../Router/Router.php:407
    private replaceBackReferences(string $input, array $matches): string Replace string `$n` with `$matches[n]` value.
    /**
     * Replace string `$n` with `$matches[n]` value.
     */
    
    Defined in .../Router/Router.php:541
    public autoRoute(string $uri): void Checks Auto Routes.
    $router->autoRoute()
    /**
     * Checks Auto Routes.
     *
     * Attempts to match a URI path against Controllers and directories
     * found in APPPATH/Controllers, to find a matching route.
     *
     * @return void
     */
    
    Defined in .../Router/Router.php:564
    protected validateRequest(array $segments): array Scans the controller directory, attempting to locate a controller matching th...
    /**
     * Scans the controller directory, attempting to locate a controller matching the supplied uri $segments
     *
     * @param array $segments URI segments
     *
     * @return array returns an array of remaining uri segments that don't map onto a directory
     *
     * @deprecated this function name does not properly describe its behavior so it has been deprecated
     *
     * @codeCoverageIgnore
     */
    
    Defined in .../Router/Router.php:581
    protected scanControllers(array $segments): array Scans the controller directory, attempting to locate a controller matching th...
    /**
     * Scans the controller directory, attempting to locate a controller matching the supplied uri $segments
     *
     * @param array $segments URI segments
     *
     * @return array returns an array of remaining uri segments that don't map onto a directory
     *
     * @deprecated Not used. Moved to AutoRouter class.
     */
    
    Defined in .../Router/Router.php:595
    public setDirectory(?string $dir = null, bool $append = false, bool $validate = true): void Sets the sub-directory that the controller is in.
    $router->setDirectory()
    /**
     * Sets the sub-directory that the controller is in.
     *
     * @param bool $validate if true, checks to make sure $dir consists of only PSR4 compliant segments
     *
     * @return void
     *
     * @deprecated This method should be removed.
     */
    
    Defined in .../Router/Router.php:643
    private isValidSegment(string $segment): bool Returns true if the supplied $segment string represents a valid PSR-4 complia...
    /**
     * Returns true if the supplied $segment string represents a valid PSR-4 compliant namespace/directory segment
     *
     * regex comes from https://www.php.net/manual/en/language.variables.basics.php
     *
     * @deprecated Moved to AutoRouter class.
     */
    
    Defined in .../Router/Router.php:661
    protected setRequest(array $segments = array()): void Set request route
    /**
     * Set request route
     *
     * Takes an array of URI segments as input and sets the class/method
     * to be called.
     *
     * @param array $segments URI segments
     *
     * @return void
     */
    
    Defined in .../Router/Router.php:676
    protected setDefaultController(): void Sets the default controller based on the info set in the RouteCollection.
    /**
     * Sets the default controller based on the info set in the RouteCollection.
     *
     * @deprecated This was an unnecessary method, so it is no longer used.
     *
     * @return void
     */
    
    Defined in .../Router/Router.php:705
    protected setMatchedRoute(string $route, $handler): void
    /**
     * @param callable|string $handler
     */
    
    Defined in .../Router/Router.php:725
    private checkDisallowedChars(string $uri): void Checks disallowed characters
    /**
     * Checks disallowed characters
     */
    
    Defined in .../Router/Router.php:735
  • public const CodeIgniter\Router\Router::HTTP_METHODS :: array (10) Depth Limit
$router->getMatchedRoute() null