PHP Interface Orno\Route\RouteStrategyInterface

Show file Open project: orno/route

Public Methods

Method Description
getStrategy ( ) : integer Gets global strategy
setStrategy ( integer $strategy ) : void Tells the implementor which strategy to use, this should override any higher level setting of strategies, such as on specific routes

Method Details

getStrategy() public method

Gets global strategy
public getStrategy ( ) : integer
return integer

setStrategy() public method

Tells the implementor which strategy to use, this should override any higher level setting of strategies, such as on specific routes
public setStrategy ( integer $strategy ) : void
$strategy integer
return void