a6e9c08499
- each route will be prefixed by `/plugin/<plugin_name>` - add a new template for plugins rendering - add a live example in the demo_plugin Check out the "Plugin System" documentation for more detail. Related to #143
12 lines
215 B
PHP
12 lines
215 B
PHP
<?php
|
|
|
|
function test_route_invalid_register_routes(): array
|
|
{
|
|
return [
|
|
[
|
|
'method' => 'GET',
|
|
'route' => 'not a route',
|
|
'callable' => 'getFunction',
|
|
],
|
|
];
|
|
}
|