Atom
in package
Class Atom
Tags
Table of Contents
Constants
- EVENT_AFTER_REQUEST : mixed = 'afterRequest'
- EVENT_BEFORE_REQUEST : mixed = 'beforeRequest'
Properties
- $about : array<string|int, mixed>
- $account : Account
- $app : Atom
- $botDetector : BotDetector
- $browserDetector : BrowserDetector
- $config : Config
- $connectionInformation : ConnectionInformation
- $connectionIpId : int
- $controller : Controller|null
- $currentServerData : array<string|int, mixed>
- $datetime : DateTime
- $db : Database
- $dom : Dom
- $fileSystem : FileSystem
- $head : Head
- $headTag : string
- $layout : string
- $log : T4LOG
- $logEvent : LogEvent
- $request : Request
- $resourcesPath : ResourcesPath
- $response : Response
- $ROOT_DIR : string
- $ROOT_URI : string
- $router : Router
- $safetyDataStructureVariable : SafetyDataStructureVariable
- $scheme : string
- $serverDataVariable : ServerDataVariable
- $session : Session
- $shrink : Shrink
- $user : UserModel|null
- $userClass : string
- $view : View
- $webManifest : WebAppManifest
- $webResourcesPath : WebResourcesPath
- $eventListeners : array<string|int, mixed>
- $cacheAtom : CacheWrapper
Methods
- __construct() : mixed
- on() : mixed
- run() : mixed
- triggerEvent() : mixed
Constants
EVENT_AFTER_REQUEST
public
mixed
EVENT_AFTER_REQUEST
= 'afterRequest'
EVENT_BEFORE_REQUEST
public
mixed
EVENT_BEFORE_REQUEST
= 'beforeRequest'
Properties
$about
public
static array<string|int, mixed>
$about
$account
public
Account
$account
$app
public
static Atom
$app
$botDetector
public
BotDetector
$botDetector
$browserDetector
public
BrowserDetector
$browserDetector
$config
public
Config
$config
$connectionInformation
public
ConnectionInformation
$connectionInformation
$connectionIpId
public
int
$connectionIpId
$controller
public
Controller|null
$controller
= null
$currentServerData
public
array<string|int, mixed>
$currentServerData
$datetime
public
DateTime
$datetime
$db
public
Database
$db
$dom
public
Dom
$dom
$fileSystem
public
FileSystem
$fileSystem
$head
public
Head
$head
$headTag
public
string
$headTag
$layout
public
string
$layout
= 'main'
$log
public
T4LOG
$log
$logEvent
public
LogEvent
$logEvent
$request
public
Request
$request
$resourcesPath
public
ResourcesPath
$resourcesPath
$response
public
Response
$response
$ROOT_DIR
public
static string
$ROOT_DIR
$ROOT_URI
public
static string
$ROOT_URI
$router
public
Router
$router
$safetyDataStructureVariable
public
SafetyDataStructureVariable
$safetyDataStructureVariable
$scheme
public
string
$scheme
$serverDataVariable
public
ServerDataVariable
$serverDataVariable
$session
public
Session
$session
$shrink
public
Shrink
$shrink
$user
public
UserModel|null
$user
$userClass
public
string
$userClass
$view
public
View
$view
$webManifest
public
WebAppManifest
$webManifest
$webResourcesPath
public
WebResourcesPath
$webResourcesPath
$eventListeners
protected
array<string|int, mixed>
$eventListeners
= []
$cacheAtom
private
CacheWrapper
$cacheAtom
Methods
__construct()
public
__construct(string $rootDir) : mixed
Parameters
- $rootDir : string
on()
public
on(mixed $eventName, mixed $callback) : mixed
Parameters
- $eventName : mixed
- $callback : mixed
run()
public
run() : mixed
triggerEvent()
public
triggerEvent(mixed $eventName) : mixed
Parameters
- $eventName : mixed