public function createProbe(ProfileConfiguration $config = null, $enable = true)
    {
        if (null === $config) {
            $config = new ProfileConfiguration();
        }

        $probe = new Probe($this->doCreateRequest($config));

        if ($enable) {
            $probe->enable();
        }

        return $probe;
    }
public function createProbe(ProfileConfiguration $config = null, $enable = true)
    {
        if (null === $config) {
            $config = new ProfileConfiguration();
        }

        $probe = new Probe($this->doCreateRequest($config));

        if ($enable) {
            $probe->enable();
        }

        return $probe;
    }
public function createProbe ( ProfileConfiguration $ config = null , $ enable = true ) { if ( null === $ config ) { $ config = new ProfileConfiguration ( ) ; } $ probe = new Probe ( $ this -> doCreateRequest ( $ config ) ) ; if ( $ enable ) { $ probe -> enable ( ) ; } return $ probe ; }
Creates a Blackfire probe.

@return Probe
Creates a Blackfire probe .