Beberlei\Metrics\Collector\Prometheus::__construct PHP Method

__construct() public method

public __construct ( Prometheus\CollectorRegistry $collectorRegistry, string $namespace = '' )
$collectorRegistry Prometheus\CollectorRegistry
$namespace string
    public function __construct(CollectorRegistry $collectorRegistry, $namespace = '')
    {
        $this->collectorRegistry = $collectorRegistry;
        $this->namespace = $namespace;
    }