/**
* Checks Auto Routes.
*
* Attempts to match a URI path against Controllers and directories
* found in APPPATH/Controllers, to find a matching route.
*
* @return void
*/
public function autoRoute(string
$uri) { [$this->directory,
$this->controller,
$this->method,
$this->params
] =
$this->autoRouter->
getRoute($uri,
$this->collection->
getHTTPVerb());
} /**
* 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
*/