mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-16 02:30:09 +03:00
- Simplified exception-handling (see demo project for examples). - Optimised sample-project. - Optimised and added further unit-tests. - Optimised and bugfixes.
18 lines
317 B
PHP
18 lines
317 B
PHP
<?php
|
|
|
|
class DummyController {
|
|
|
|
public function start() {
|
|
echo static::class . '@' .'start() OK';
|
|
}
|
|
|
|
public function param($params = null) {
|
|
$params = func_get_args();
|
|
echo 'Params: ' . join(', ', $params);
|
|
}
|
|
|
|
public function notFound() {
|
|
echo 'not found';
|
|
}
|
|
|
|
} |