mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-14 09:43:42 +03:00
NOTE: Custom class-loader should be used to create custom integrations with frameworks like php-di. See documentation for more information. - Removed all references to php-cli from composer + code. - Added ClassLoader php-unit tests.
46 lines
505 B
PHP
46 lines
505 B
PHP
<?php
|
|
|
|
class DummyController
|
|
{
|
|
public function index()
|
|
{
|
|
|
|
}
|
|
|
|
|
|
public function method1()
|
|
{
|
|
|
|
}
|
|
|
|
public function method2()
|
|
{
|
|
|
|
}
|
|
|
|
public function method3()
|
|
{
|
|
return 'method3';
|
|
}
|
|
|
|
public function param($params = null)
|
|
{
|
|
echo join(', ', func_get_args());
|
|
}
|
|
|
|
public function getTest()
|
|
{
|
|
echo 'getTest';
|
|
}
|
|
|
|
public function postTest()
|
|
{
|
|
echo 'postTest';
|
|
}
|
|
|
|
public function putTest()
|
|
{
|
|
echo 'putTest';
|
|
}
|
|
|
|
} |