-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
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/
drwxr-xr-x 1009 1006 4096 Jan 04 14:51 /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/app/Config
drwxr-xr-x 1009 1006 4096 Jan 04 14:51 /home/rumahcerita/domains/ipl.rumahcerita.id/public_html/ipl/app
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/
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/
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/
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/
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/
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/
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/
-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
-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
-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
-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
-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
-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
-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
-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
-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
-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
-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
-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
-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
/** * Reads in the configuration array (described above) and stores * the valid parts that we'll need. * * @return $this */ Defined in .../Autoloader/Autoloader.php:102
Defined in .../Autoloader/Autoloader.php:137
/** * 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
/** * Unregisters the autoloader from the SPL autoload stack. */ Defined in .../Autoloader/Autoloader.php:180
/** * 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
/** * 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
/** * Removes a single namespace from the psr4 settings. * * @return $this */ Defined in .../Autoloader/Autoloader.php:237
/** * 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
/** * 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
/** * 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
/** * 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
/** * 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
/**
* @param array{only?: list<string>, exclude?: list<string>} $composerPackages
*/
Defined in .../Autoloader/Autoloader.php:371/** * Locates autoload information from Composer, if available. * * @deprecated No longer used. * * @return void */ Defined in .../Autoloader/Autoloader.php:452
/** * Loads helpers */ Defined in .../Autoloader/Autoloader.php:486
/** * Initializes Kint */ Defined in .../Autoloader/Autoloader.php:494
Defined in .../Autoloader/Autoloader.php:507
Defined in .../Autoloader/Autoloader.php:529
Defined in .../Autoloader/FileLocator.php:38
/** * 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
/** * Examines a file and returns the fully qualified class name. */ Defined in .../Autoloader/FileLocator.php:129
/**
* 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/** * Ensures a extension is at the end of a filename */ Defined in .../Autoloader/FileLocator.php:224
/**
* Return the namespace mappings we know about.
*
* @return list<array{prefix: non-empty-string, path: non-empty-string}>
*/
Defined in .../Autoloader/FileLocator.php:242Defined in .../Autoloader/FileLocator.php:270
/** * 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
/** * 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
/** * 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
Inherited from CodeIgniter\Modules\Modules Defined in .../Modules/Modules.php:46
/** * Should the application auto-discover the requested resource. */ Inherited from CodeIgniter\Modules\Modules Defined in .../Modules/Modules.php:54
Defined in .../Modules/Modules.php:63
/** * Constructor */ Defined in .../Router/RouteCollection.php:280
/** * Loads main routes file and discover routes. * * Loads only once unless reset. * * @return $this */ Defined in .../Router/RouteCollection.php:311
/** * 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
/** * 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
/** * For `spark routes` * * @return array<string, string> * * @internal */ Defined in .../Router/RouteCollection.php:407
/** * Sets the default namespace to use for Controllers when no other * namespace has been specified. */ Defined in .../Router/RouteCollection.php:416
/** * Sets the default controller to use when no other controller has been * specified. */ Defined in .../Router/RouteCollection.php:428
/** * 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
/** * 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
/** * 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
/** * 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
/** * 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
/** * Sets the default constraint to be used in the system. Typically * for use with the 'resource' method. */ Defined in .../Router/RouteCollection.php:506
/** * Returns the name of the default controller. With Namespace. */ Defined in .../Router/RouteCollection.php:518
/** * Returns the name of the default method to use within the controller. */ Defined in .../Router/RouteCollection.php:526
/** * Returns the default namespace as set in the Routes config file. */ Defined in .../Router/RouteCollection.php:534
/** * Returns the current value of the translateURIDashes setting. */ Defined in .../Router/RouteCollection.php:542
/** * Returns the flag that tells whether to autoRoute URI against Controllers. */ Defined in .../Router/RouteCollection.php:550
/** * 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
/** * 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
/** * Returns the current HTTP Verb being used. */ Defined in .../Router/RouteCollection.php:618
/** * Sets the current HTTP verb. * Used primarily for testing. * * @param string $verb HTTP verb * * @return $this */ Defined in .../Router/RouteCollection.php:631
/** * 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
/**
* 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/** * 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
/** * Determines if the route is a redirecting route. * * @param string $routeKey routeKey or route name */ Defined in .../Router/RouteCollection.php:716
/** * Grabs the HTTP status code from a redirecting Route. * * @param string $routeKey routeKey or route name */ Defined in .../Router/RouteCollection.php:738
/**
* 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/**
* 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/**
* 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/** * 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
/** * 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
/** * 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
/** * 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
/** * 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
/** * 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
/** * 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
/** * 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
/** * 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
/** * Specifies a route that will only display a view. * Only works for GET requests. */ Defined in .../Router/RouteCollection.php:1145
/** * Limits the routes to a specified ENVIRONMENT or they won't run. * * @param Closure(RouteCollection): void $callback */ Defined in .../Router/RouteCollection.php:1164
/**
* 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/**
* Replaces the {locale} tag with the current application locale
*
* @deprecated Unused.
*/
Defined in .../Router/RouteCollection.php:1260/** * 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
/** * 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
/** * Given a * * @throws RouterException * * @deprecated Unused. Now uses buildReverseRoute(). */ Defined in .../Router/RouteCollection.php:1314
/** * 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
/**
* Replaces the {locale} tag with the locale
*/
Defined in .../Router/RouteCollection.php:1412/** * 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
/** * 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
Defined in .../Router/RouteCollection.php:1585
/** * Returns the method param string like `/$1/$2` for placeholders */ Defined in .../Router/RouteCollection.php:1612
/** * 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
/** * 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
/** * Reset the routes, so that a test case can provide the * explicit ones needed for it. * * @return void */ Defined in .../Router/RouteCollection.php:1706
/**
* 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/** * Enable or Disable sorting routes by priority * * @param bool $enabled The value status * * @return $this */ Defined in .../Router/RouteCollection.php:1760
/** * 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
/** * @param (Closure(mixed...): (ResponseInterface|string|void))|string $handler Handler * * @return string|null Controller classname */ Defined in .../Router/RouteCollection.php:1823
/**
* Set The flag that limit or not the routes with {locale} placeholder to App::$supportedLocales
*/
Defined in .../Router/RouteCollection.php:1837/**
* Get the flag that limit or not the routes with {locale} placeholder to App::$supportedLocales
*/
Defined in .../Router/RouteCollection.php:1847/** * Stores a reference to the RouteCollection object. */ Defined in .../Router/Router.php:144
/** * 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
/** * Returns the filter info for the matched route, if any. * * @return list<string> */ Defined in .../Router/Router.php:241
/** * 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
/** * Returns the name of the method to run in the * chosen controller. */ Defined in .../Router/Router.php:262
/**
* 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/** * 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
/** * 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
/** * Returns the routing information that was matched for this * request, if a route was defined. * * @return array|null */ Defined in .../Router/Router.php:326
/** * Returns all options set for the matched route * * @return array|null */ Defined in .../Router/Router.php:336
/** * 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
/** * 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
/**
* Returns true/false based on whether the current route contained
* a {locale} placeholder.
*
* @return bool
*/
Defined in .../Router/Router.php:379/** * Returns the detected locale, if any, or null. * * @return string */ Defined in .../Router/Router.php:389
/** * 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
/** * Replace string `$n` with `$matches[n]` value. */ Defined in .../Router/Router.php:541
/** * 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
/** * 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
/** * 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
/** * 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
/** * 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
/** * 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
/** * 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
/** * @param callable|string $handler */ Defined in .../Router/Router.php:725
/** * Checks disallowed characters */ Defined in .../Router/Router.php:735