\NeuronApplicationBase

Defines base functionality for applications.

Summary

Methods
Properties
Constants
getLogger()
log()
isCommandLine()
__construct()
getVersion()
run()
No public properties found
No constants found
getParameters()
getParameter()
onStart()
onFinish()
onError()
onRun()
$_aParameters
N/A
No private methods found
$_Logger
N/A

Properties

$_aParameters

$_aParameters

$_Logger

$_Logger

Methods

log()

log(mixed $s, int $iLevel)

Parameters

mixed $s
int $iLevel

Writes to the logger. Defaults to debug mode. Data is only written to the log based on the loggers run-level.

isCommandLine()

isCommandLine() : bool

Returns

bool

__construct()

__construct()

getVersion()

getVersion()

run()

run(array|null $aArgv)

Parameters

array|null $aArgv

getParameters()

getParameters() : array

Returns

array —

returns all parameters

getParameter()

getParameter(mixed $s) : mixed

Parameters

mixed $s

Returns

mixed

onStart()

onStart()

onFinish()

onFinish()

onError()

onError(\Exception $ex) : bool

Parameters

\Exception $ex

Returns

bool

onRun()

onRun()