PHP Interface Airship\Engine\Contract\RouterInterface

Show file Open project: paragonie/airship

Public Methods

Method Description
__construct ( array $cabins = [] ) You should be able to pass cabin configurations here
route ( ) This method should fly your guest to their designated landing.
testLanding ( string $path, string $uri, array &$args = [], boolean $needsPrep = false ) : boolean Test a path against a URI

Method Details

__construct() public method

You should be able to pass cabin configurations here
public __construct ( array $cabins = [] )
$cabins array

route() public method

This method should fly your guest to their designated landing.
public route ( )

testLanding() public static method

Test a path against a URI
public static testLanding ( string $path, string $uri, array &$args = [], boolean $needsPrep = false ) : boolean
$path string
$uri string
$args array
$needsPrep boolean
return boolean