mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-17 00:37:52 +00:00
ff3f1bdcdd
- Fixed issue #227 causing custom resource-routes not to be loaded after latest update. - Optimized `RouteResource` class. - Renamed `IRestController` to `IResourceController`. - Added unit-tests for RouterResource. - Simplified unit-tests with the `TestRouter` custom router class.
20 lines
193 B
PHP
20 lines
193 B
PHP
<?php
|
|
|
|
class DummyController
|
|
{
|
|
public function method1()
|
|
{
|
|
|
|
}
|
|
|
|
public function method2()
|
|
{
|
|
|
|
}
|
|
|
|
public function param($params = null)
|
|
{
|
|
echo join(', ', func_get_args());
|
|
}
|
|
|
|
} |