GracefulDeath\LastWill::__construct PHP Method

__construct() public method

public __construct ( $options )
    public function __construct($options)
    {
        $this->options = $options;
        $this->stdoutFilePath = tempnam(sys_get_temp_dir(), 'death');
        $this->stderrFilePath = tempnam(sys_get_temp_dir(), 'death');
        $this->capturedFromStdout = '';
        $this->capturedFromStderr = '';
        $this->userSettings = [];
        $this->userSettingsToSave = ['error_log', 'log_errors', 'display_errors'];
        $this->ensureItIsPossibleToApply();
        $this->saveUserSettings();
    }