public function setConfiguration($profilerConfiguration)
    {
        if (isset($profilerConfiguration['slowTreshold'])) {
            $this->setSlowTreshold($profilerConfiguration['slowTreshold']);
        }
        if (isset($profilerConfiguration['details'])) {
            $this->setDetails($profilerConfiguration['details']);
        }
        if (isset($profilerConfiguration['innerGlue'])) {
            $this->setInnerGlue($profilerConfiguration['innerGlue']);
        }
        if (isset($profilerConfiguration['outerGlue'])) {
            $this->setOuterGlue($profilerConfiguration['outerGlue']);
        }
    }
public function setConfiguration($profilerConfiguration)
    {
        if (isset($profilerConfiguration['slowTreshold'])) {
            $this->setSlowTreshold($profilerConfiguration['slowTreshold']);
        }
        if (isset($profilerConfiguration['details'])) {
            $this->setDetails($profilerConfiguration['details']);
        }
        if (isset($profilerConfiguration['innerGlue'])) {
            $this->setInnerGlue($profilerConfiguration['innerGlue']);
        }
        if (isset($profilerConfiguration['outerGlue'])) {
            $this->setOuterGlue($profilerConfiguration['outerGlue']);
        }
    }
public function setConfiguration ( $ profilerConfiguration ) { if ( isset ( $ profilerConfiguration [ 'slowTreshold' ] ) ) { $ this -> setSlowTreshold ( $ profilerConfiguration [ 'slowTreshold' ] ) ; } if ( isset ( $ profilerConfiguration [ 'details' ] ) ) { $ this -> setDetails ( $ profilerConfiguration [ 'details' ] ) ; } if ( isset ( $ profilerConfiguration [ 'innerGlue' ] ) ) { $ this -> setInnerGlue ( $ profilerConfiguration [ 'innerGlue' ] ) ; } if ( isset ( $ profilerConfiguration [ 'outerGlue' ] ) ) { $ this -> setOuterGlue ( $ profilerConfiguration [ 'outerGlue' ] ) ; } }
Configure the profiler from an array.

@example
<code>
$profiler->setConfiguration(array(
'slowTreshold' => 0.1,
'details' => array(
'time' => array(
'name' => 'Time',
'precision' => '3',
'pad' => '8',
),
'mem' => array(
'name' => 'Memory',
'precision' => '3',
'pad' => '8',
),
'memDelta' => array(
'name' => 'Memory Delta',
'precision' => '3',
'pad' => '8',
),
'memPeak' => array(
'name' => 'Memory Peak',
'precision' => '3',
'pad' => '8',
),
),
'outerGlue' => ': ',
'innerGlue' => ' | '
));
</code>

@param array $profilerConfiguration
Configure the profiler from an array .