CakeFest 2024: The Official CakePHP Conference

Yaf_Application::app

(Yaf >=1.0.0)

Yaf_Application::appアプリケーションのインスタンスを取得する

説明

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