|
The Yaf_Application classIntroductionYaf_Application provides a bootstrapping facility for applications which provides reusable resources, common- and module-based bootstrap classes and dependency checking.
Class synopsisYaf_Application
final
class Yaf_Application
{
/* Properties */
protected
$config;
protected
$dispatcher;
protected
static
$_app;
protected
$_modules;
protected
$_running;
protected
$_environ;
/* Methods */
public __construct(mixed
$config , string $envrion = ?)public static mixed app()
public void bootstrap(Yaf_Bootstrap_Abstract
$bootstrap = ?)public Yaf_Application clearLastError()
public void environ()
public void execute(callable
$entry , string ...$args )public Yaf_Application getAppDirectory()
public Yaf_Config_Abstract getConfig()
public Yaf_Dispatcher getDispatcher()
public string getLastErrorMsg()
public int getLastErrorNo()
public array getModules()
public void run()
public Yaf_Application setAppDirectory(string
$directory )public __destruct()
}Properties
|