__construct() 공개 메소드

public __construct ( TimeUnit $timeUnit = null )
$timeUnit PhpBench\Util\TimeUnit
예제 #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;
 }