mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-10 22:12:13 +00:00
085f98cf08
- Better php7 support. - Added easier way to debug router. - Improvements and bugfixes. - Updated documentation.
22 lines
386 B
PHP
22 lines
386 B
PHP
<?php
|
|
|
|
namespace Pecee\SimpleRouter\Route;
|
|
|
|
interface IControllerRoute extends IRoute
|
|
{
|
|
/**
|
|
* Get controller class-name
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getController(): string;
|
|
|
|
/**
|
|
* Set controller class-name
|
|
*
|
|
* @param string $controller
|
|
* @return static
|
|
*/
|
|
public function setController(string $controller): self;
|
|
|
|
} |