\Fuman_System_Check_PhpVersion

Checks php version

Summary

Methods
Properties
Constants
check()
getTranslation()
addError()
hasErrors()
getErrors()
addSuccess()
hasSuccess()
getSuccess()
__construct()
No public properties found
VERSION_SMALLER
VERSION_EQUAL
VERSION_GREATER
_addVersionCheck()
$_errors
$_success
$_versionsCheck
N/A
No private methods found
No private properties found
N/A

Constants

VERSION_SMALLER

VERSION_SMALLER

Version smaller

VERSION_EQUAL

VERSION_EQUAL

Version equal

VERSION_GREATER

VERSION_GREATER

Version greater

Properties

$_errors

$_errors : 

Type

$_success

$_success : 

Type

$_versionsCheck

$_versionsCheck : array

Type

array

Methods

check()

check() : boolean

Execute check

Returns

boolean

getTranslation()

getTranslation(  $template, array  $data) : string

Parameters

$template
array $data

Returns

string

addError()

addError(string  $template, array  $data) : void

Add error messages

Parameters

string $template
array $data

hasErrors()

hasErrors() : boolean

Has error messages

Returns

boolean

getErrors()

getErrors() : array

Get errors messages

Returns

array

addSuccess()

addSuccess(string  $template, array  $data) : void

Add success messages

Parameters

string $template
array $data

hasSuccess()

hasSuccess() : boolean

Has success messages

Returns

boolean

getSuccess()

getSuccess() : array

Get success messages

Returns

array

__construct()

__construct() 

Constructor

_addVersionCheck()

_addVersionCheck(string  $module, string  $minVersion, integer  $expectedValue = self::VERSION_GREATER) : void

Adds version check

Parameters

string $module
string $minVersion
integer $expectedValue

@ishacky