mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-15 18:23:26 +03:00
- Enhanced regular expression used for matching parameters. - Added basic unit-tests for parameters. - Fixed typos in PHP-docs and other minor optimizations.
14 lines
251 B
PHP
14 lines
251 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);
|
|
}
|
|
|
|
} |