PhpBench\Benchmarks\Macro\BaseBenchCase::__construct PHP Method

__construct() public method

The constructor can be used as a quick way to setup the class and as an alternative to explicitly declaring methods to execute before the benchmark.
public __construct ( )
    public function __construct()
    {
        $this->container = $this->getContainer();
    }