__construct() public method

public __construct ( TimeUnit $timeUnit = null )
$timeUnit PhpBench\Util\TimeUnit
Example #1
0
 public function __construct(TimeUnit $timeUnit, $showBench = false)
 {
     parent::__construct($timeUnit);
     $this->showBench = $showBench;
     // if we are in travis, don't do any fancy stuff.
     $this->isCi = getenv('CONTINUOUS_INTEGRATION') ? true : false;
 }