PHP Class luya\console\commands\HealthController

Author: Basil Suter ([email protected])
Inheritance: extends luya\console\Command
Show file Open project: luyadev/luya

Public Properties

Property Type Description
$files An array with files to check if they exists or not.
$folders An array with all folders to check where the value for the key is whether it should be writeable or not.

Public Methods

Method Description
actionIndex ( ) : string Create all required directories an check whether they are writeable or not.
actionMailer ( ) : boolean Test Mail-Component (Use --verbose=1 to enable smtp debug output)

Method Details

actionIndex() public method

Create all required directories an check whether they are writeable or not.
public actionIndex ( ) : string
return string The action output.

actionMailer() public method

Test Mail-Component (Use --verbose=1 to enable smtp debug output)
public actionMailer ( ) : boolean
return boolean Whether successfull or not.

Property Details

$files public property

An array with files to check if they exists or not.
public $files

$folders public property

An array with all folders to check where the value for the key is whether it should be writeable or not.
public $folders