mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-10 21:52:12 +00:00
36 lines
533 B
PHP
36 lines
533 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);
|
|
|
|
} |