mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-17 00:37:52 +00:00
1c515119b4
- Ensure that request-method is always lowercase. - Fixed spaces instead of tabs to comply with PSR-2.
36 lines
611 B
PHP
36 lines
611 B
PHP
<?php
|
|
namespace Pecee\SimpleRouter\Route;
|
|
|
|
interface IControllerRoute extends IRoute
|
|
{
|
|
/**
|
|
* Get controller class-name
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getController();
|
|
|
|
/**
|
|
* Set controller class-name
|
|
*
|
|
* @param string $controller
|
|
* @return static
|
|
*/
|
|
public function setController($controller);
|
|
|
|
/**
|
|
* Return active method
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getMethod();
|
|
|
|
/**
|
|
* Set active method
|
|
*
|
|
* @param string $method
|
|
* @return static
|
|
*/
|
|
public function setMethod($method);
|
|
|
|
} |