25 lines
531 B
PHP
25 lines
531 B
PHP
<?php
|
|
|
|
/**
|
|
* pjdietz\WellRESTed\Interfaces\Route\PrefixRouteInterface
|
|
*
|
|
* @author PJ Dietz <pj@pjdietz.com>
|
|
* @copyright Copyright 2015 by PJ Dietz
|
|
* @license MIT
|
|
*/
|
|
|
|
namespace pjdietz\WellRESTed\Interfaces\Routes;
|
|
|
|
/**
|
|
* Interface for routes that map to paths begining with a given prefix or prefixes
|
|
*/
|
|
interface PrefixRouteInterface
|
|
{
|
|
/**
|
|
* Returns the path prefixes the instance maps to a target handler.
|
|
*
|
|
* @return string[] List array of path prefixes.
|
|
*/
|
|
public function getPrefixes();
|
|
}
|