PHP Class Services\Installer

Show file Open project: doptor/doptor

Protected Properties

Property Type Description
$listener

Public Methods

Method Description
__construct ( $listener )
checkCompatibility ( ) Check whether or not, the current PHP installation is compatible with the requirements or not
createSuperAdmin ( array $input ) Create an user with superadmin privileges
dbConnection ( $input ) Check connections to the database
dbMigrate ( $input )
setEnvironmentVariables ( array $input ) Set the environment variables as per configuration

Method Details

__construct() public method

public __construct ( $listener )

checkCompatibility() public method

Check whether or not, the current PHP installation is compatible with the requirements or not
public checkCompatibility ( )

createSuperAdmin() public method

Create an user with superadmin privileges
public createSuperAdmin ( array $input )
$input array Input

dbConnection() public method

Check connections to the database
public dbConnection ( $input )

dbMigrate() public method

public dbMigrate ( $input )

setEnvironmentVariables() public method

Set the environment variables as per configuration
public setEnvironmentVariables ( array $input )
$input array The input from configuration

Property Details

$listener protected property

protected $listener