API_Route::buildRegExpList PHP Method

buildRegExpList() private static method

To build RegExp list
private static buildRegExpList ( $regex, array &$list, callable $callback ) : boolean
$list array
$callback callable
return boolean
    private static function buildRegExpList($regex, &$list, $callback)
    {
        $list[$regex] = $callback;
        return true;
    }