PHP Интерфейс Airship\Engine\Contract\RouterInterface

Показать файл Открыть проект

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный метод

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

route() публичный метод

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

testLanding() публичный статический метод

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
Результат boolean