Yaf_Application
PHP Manual

Yaf_Application::app

(PECL yaf >=1.0.0)

Yaf_Application::appRetrive an Application instance

Description

public static void Yaf_Application::app ( void )

Retrive the Yaf_Application instance, alternatively, we also could use Yaf_Dispatcher::getApplication().

Parameters

This function has no parameters.

Return Values

an Yaf_Application instance, if no Yaf_Application initialized before, NULL will be returned.

See Also


Yaf_Application
PHP Manual