Bolt\Tests\BoltListener::__construct PHP Метод

__construct() публичный Метод

Called on init of PHPUnit exectution.
См. также: PHPUnit_Util_Configuration
public __construct ( array $configs = [], boolean $theme = false, boolean $boltDb = false, boolean $reset = true, boolean $timer = true )
$configs array Location of configuration files
$theme boolean Location of the theme
$boltDb boolean Location of Sqlite database
$reset boolean Reset test environment after run
$timer boolean Create test execution timer output
    public function __construct($configs = [], $theme = false, $boltDb = false, $reset = true, $timer = true)
    {
        $this->configs = $this->getConfigs($configs);
        $this->theme = $this->getTheme($theme);
        $this->boltdb = $this->getBoltDb($boltDb);
        $this->reset = $reset;
        $this->timer = $timer;
        $this->buildTestEnv();
    }