public function endProbe(Probe $probe)
    {
        $probe->close();

        $profile = $this->getProfile($probe->getRequest()->getUuid());

        $request = $probe->getRequest();

        if ($request->getUserMetadata()) {
            $this->storeMetadata($request->getUuid(), $request->getUserMetadata());
        }

        return $profile;
    }
public function endProbe(Probe $probe)
    {
        $probe->close();

        $profile = $this->getProfile($probe->getRequest()->getUuid());

        $request = $probe->getRequest();

        if ($request->getUserMetadata()) {
            $this->storeMetadata($request->getUuid(), $request->getUserMetadata());
        }

        return $profile;
    }
public function endProbe ( Probe $ probe ) { $ probe -> close ( ) ; $ profile = $ this -> getProfile ( $ probe -> getRequest ( ) -> getUuid ( ) ) ; $ request = $ probe -> getRequest ( ) ; if ( $ request -> getUserMetadata ( ) ) { $ this -> storeMetadata ( $ request -> getUuid ( ) , $ request -> getUserMetadata ( ) ) ; } return $ profile ; }
Ends a Blackfire probe.

@return Profile
Ends a Blackfire probe .