public function getProfile()
    {
        if (!$this->kernel->getContainer()->has('profiler')) {
            return false;
        }

        return $this->kernel->getContainer()->get('profiler')->loadProfileFromResponse($this->response);
    }
public function getProfile()
    {
        if (!$this->kernel->getContainer()->has('profiler')) {
            return false;
        }

        return $this->kernel->getContainer()->get('profiler')->loadProfileFromResponse($this->response);
    }
public function getProfile ( ) { if ( ! $ this -> kernel -> getContainer ( ) -> has ( 'profiler' ) ) { return false ; } return $ this -> kernel -> getContainer ( ) -> get ( 'profiler' ) -> loadProfileFromResponse ( $ this -> response ) ; }
Gets the profile associated with the current Response.

@return HttpProfile|false A Profile instance
Gets the profile associated with the current Response .