LaravelConf Taiwan 2020 CFP Started


(Yaf >=1.0.0)

Yaf_Request_Abstract::setControllerNameSet controller name


public Yaf_Request_Abstract::setControllerName ( string $controller [, bool $format_name = true ] ) : void

set controller name to request, this is usually used by custom router to set route result controller name.

Список параметров


string, controller name, this should be in camel style, like "Index" or "Foo_Bar"


this is introduced in Yaf 3.2.0, by default Yaf will format the name into camel mode, if this is set to FALSE , Yaf will set the original name to request.

Возвращаемые значения

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top