class Checks (View source)

Methods

static bool
cli()

Check if script is running from command line

static bool
multithread()

Check if php interpreter supports pcntl_fork (required in multithread mode)

static bool
signals()

Check if php interpreter supports pcntl signal handlers

static bool
database(Configuration $configuration)

Check if database is available and initialized correctly

Details

final static bool cli()

Check if script is running from command line

Return Value

bool

final static bool multithread()

Check if php interpreter supports pcntl_fork (required in multithread mode)

Return Value

bool

final static bool signals()

Check if php interpreter supports pcntl signal handlers

Return Value

bool

final static bool database(Configuration $configuration)

Check if database is available and initialized correctly

Parameters

Configuration $configuration

Return Value

bool