Factory::getEngineResolver()

EngineResolver getEngineResolver() Get the engine resolver instance. Return Value EngineResolver

Factory::getEngineFromPath()

EngineInterface getEngineFromPath(string $path) Get the appropriate view engine for the given path. Parameters string $path Return Value EngineInterface Exceptions InvalidArgumentException

Factory::getDispatcher()

Dispatcher getDispatcher() Get the event dispatcher instance. Return Value Dispatcher

Factory::getCurrentUrl()

string getCurrentUrl() Get the root URL for the request. Return Value string

Factory::getCurrentPage()

int getCurrentPage() Get the number of the current page. Return Value int

Factory::getContainer()

Container getContainer() Get the IoC container instance. Return Value Container

Factory::forget()

Cookie forget(string $name, string $path = null, string $domain = null) Expire the given cookie. Parameters string $name string $path string $domain Return Value Cookie

Factory::forever()

Cookie forever(string $name, string $value, string $path = null, string $domain = null, bool $secure = false, bool $httpOnly = true) Create a cookie that lasts "forever" (five years). Parameters string $name string $value string $path string $domain bool $secure bool $httpOnly Return Value Cookie

Factory::flushSectionsIfDoneRendering()

void flushSectionsIfDoneRendering() Flush all of the section contents if done rendering. Return Value void

Factory::flushSections()

void flushSections() Flush all of the section contents. Return Value void