protected function startMetrics($behaviorSlug)
    {
        $metrics = $this->metrics;
        $bucketIndex = $this->bucket->getIndex();

        // Increment counters
        $metrics->increment('Features', $behaviorSlug);
        $metrics->increment('Buckets', $this->keys[$bucketIndex - 1], $behaviorSlug);

        // Start timers
        $metrics->startTiming('Features', $behaviorSlug);
        $metrics->startMemoryProfile('Features', $behaviorSlug);
    }
protected function startMetrics($behaviorSlug)
    {
        $metrics = $this->metrics;
        $bucketIndex = $this->bucket->getIndex();

        // Increment counters
        $metrics->increment('Features', $behaviorSlug);
        $metrics->increment('Buckets', $this->keys[$bucketIndex - 1], $behaviorSlug);

        // Start timers
        $metrics->startTiming('Features', $behaviorSlug);
        $metrics->startMemoryProfile('Features', $behaviorSlug);
    }
protected function startMetrics ( $ behaviorSlug ) { $ metrics = $ this -> metrics ; $ bucketIndex = $ this -> bucket -> getIndex ( ) ; // Increment counters $ metrics -> increment ( 'Features' , $ behaviorSlug ) ; $ metrics -> increment ( 'Buckets' , $ this -> keys [ $ bucketIndex - 1 ] , $ behaviorSlug ) ; // Start timers $ metrics -> startTiming ( 'Features' , $ behaviorSlug ) ; $ metrics -> startMemoryProfile ( 'Features' , $ behaviorSlug ) ; }
Start collecting metrics about this feature.

@param string $behaviorSlug
Start collecting metrics about this feature .