Yaf_Route_Interface::assemble

(Yaf >=2.3.0)

Yaf_Route_Interface::assembleAssemble a request

Description

abstract public Yaf_Route_Interface::assemble ( array $info [, array $query ] ) : string

this method returns a url according to the argument info, and append query strings to the url according to the argument query.

a route should implement this method according to its own route rules, and do a reverse progress.

Parameters

info
query

Return Values

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/yaf-route-interface.assemble.php