GeneratorDumperInterface

GeneratorDumperInterface

interface GeneratorDumperInterface

GeneratorDumperInterface is the interface that all generator dumper classes must implement.

Methods

string dump(array $options = array())

Dumps a set of routes to a string representation of executable code that can then be used to generate a URL of such a route.

RouteCollection getRoutes()

Gets the routes to dump.

Details

string dump(array $options = array())

Dumps a set of routes to a string representation of executable code that can then be used to generate a URL of such a route.

Parameters

array $options An array of options

Return Value

string Executable code

RouteCollection getRoutes()

Gets the routes to dump.

Return Value

RouteCollection A RouteCollection instance
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部