src/Core/BaseController.php
protected function getNumList(): array
    {
        preg_match_all('/\/\d+/u', $this->request->route(), $numList);
        $numList = $numList[0];
        $numList = array_map(function($val) {
            return intval(ltrim($val, '/'));
        }, $numList);
        return $numList;
    }
protected function getNumList(): array
    {
        preg_match_all('/\/\d+/u', $this->request->route(), $numList);
        $numList = $numList[0];
        $numList = array_map(function($val) {
            return intval(ltrim($val, '/'));
        }, $numList);
        return $numList;
    }
Get route digit's.

@return array