CakeFest 2024: The Official CakePHP Conference

Yaf_Application::app

(Yaf >=1.0.0)

Yaf_Application::app检索 Application 实例

说明

public staticYaf_Application::app(): mixed

检索 Yaf_Application 实例。也可以使用 Yaf_Dispatcher::getApplication()

参数

此函数没有参数。

返回值

Yaf_Application 实例,Yaf_Application 没有初始化之前,返回 null

参见

add a note

User Contributed Notes

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