PHP Class N98\Magento\Command\System\Check\Result

ファイルを表示 Open project: netz98/n98-magerun Class Usage Examples

Protected Properties

Property Type Description
$_messages array[string]
$_resultGroup string
$_status string

Public Methods

Method Description
__construct ( $status = self::STATUS_OK, $message = '', $resultGroup = '' )
getMessage ( ) : string
getResultGroup ( ) : string
getStatus ( ) : string
isValid ( ) : boolean
setMessage ( string $message )
setResultGroup ( string $resultGroup )
setStatus ( boolean | string $status )

Method Details

__construct() public method

public __construct ( $status = self::STATUS_OK, $message = '', $resultGroup = '' )

getMessage() public method

public getMessage ( ) : string
return string

getResultGroup() public method

public getResultGroup ( ) : string
return string

getStatus() public method

public getStatus ( ) : string
return string

isValid() public method

public isValid ( ) : boolean
return boolean

setMessage() public method

public setMessage ( string $message )
$message string

setResultGroup() public method

public setResultGroup ( string $resultGroup )
$resultGroup string

setStatus() public method

public setStatus ( boolean | string $status )
$status boolean | string

Property Details

$_messages protected_oe property

protected array[string] $_messages
return array[string]

$_resultGroup protected_oe property

protected string $_resultGroup
return string

$_status protected_oe property

protected string $_status
return string