Documentation

SnajuInception

Interfaces, Classes and Traits

HookPriority
MiddlewareInterface
ValidatorInterface
ResponseFormatterInterface
PluginInterface
RouteLoader
InceptionCore
EventHook
InceptionAnnotation
InceptionRoute
Inject
ProtectedField
Singleton
Event
EventHookObject
EventManager
OnExceptionEvent
OnNotifyEvent
OnRouteEnd
OnRouteEvent
OnRouteFallback
OnRouteProcess
DefaultUncaughtException
Exception
ForbiddenException
Class UserDisplayException ========================================================================== Exceptions meant to be shown the end user whether it be an error on a Twig template or an error response message directly from the backend via API.
AbstractErrorHandler
ExceptionHandler
HtmlPageHandler
JsonResponseHandler
XmlResponseHandler
InvalidArgumentException
InvalidCallException
InvalidConfigException
InvalidKeyException
InvalidParamException
InvalidRouteException
Class UserDisplayException ========================================================================== Exceptions meant to be shown the end user whether it be an error on a Twig template or an error response message directly from the backend via API.
InvalidValueException
ModelNotFoundException
NoModelFoundException
Class UserDisplayException ========================================================================== Exceptions meant to be shown the end user whether it be an error on a Twig template or an error response message directly from the backend via API.
NotSupportedException
RouteNotFoundException
UnknownClassException
UnknownMethodException
UnknownPropertyException
UnsupportedMethodException
ViewNotFoundException
MiddlewareRegistry
Request
Uri
ArrayRule
BooleanRule
GreaterThanEqualRule
GreaterThanRule
InArrayRule
IntegerRule
JsonRule
LessThan
LessThanEqual
MaxRule
MinRule
NumericRule
ObjectRule
PresentRule
RequiredRule
StringRule
UniqueRule
Validator
ValidatorRule
WebRequest
ResponseFormat
HtmlResponseFormatter
JsonResponseFormatter
RawResponseFormatter
TextResponseFormatter
XmlResponseFormatter
ResponseHandler
SchemaProvider
DefaultPaginator
Response
ResponseHandler
InjectionMemberNotFoundException
InjectionManager
InjectionRoot
Notification
EmailNotification
SmsNotification
DataModel
PluginManager
PluginObject
FuncRoute
FuncRouteLoader
CustomFunctions
Template
TemplateLoader
TemplateManager
TwigRoute
TwigRouteLoader
Route
RouteFile
RouteManager
RouteNode
RouteTree
AnnotationHelper
ClassAsyncLoader
Loader
Collection
Queue
Cookie
Util
ReceivesNotifications

Table of Contents

render()  : string
response()  : ResponseHandler
config()  : mixed
env()  : string|null
flash()  : FlashMessage
controller()  : Controller
redirect()  : mixed

Functions

render()

render(mixed ...$args) : string
Parameters
$args : mixed
Tags
global

ResponseHandler Renders a view, relative to the pages/views directory

Return values
string

config()

config(mixed $key) : mixed
Parameters
$key : mixed
Return values
mixed

env()

env(mixed $key) : string|null
Parameters
$key : mixed
Return values
string|null

redirect()

redirect(mixed $url[, mixed $permanent = false ]) : mixed
Parameters
$url : mixed
$permanent : mixed = false
Return values
mixed

Search results