original_string: public function collect(Request $request, Response $response, Exception $exception = null)
      {
          $objects = array();
          $objectNames = $this->flexModel->getObjectNames();
          foreach ($objectNames as $objectName) {
              $fieldNames = $this->flexModel->getFieldNames($objectName);
  
              $objects[] = array(
                  'objectName' => $objectName,
                  'fieldNames' => $fieldNames,
              );
          }
  
          $this->data = array(
              'objects' => $objects,
          );
      }
code: public function collect(Request $request, Response $response, Exception $exception = null)
      {
          $objects = array();
          $objectNames = $this->flexModel->getObjectNames();
          foreach ($objectNames as $objectName) {
              $fieldNames = $this->flexModel->getFieldNames($objectName);
  
              $objects[] = array(
                  'objectName' => $objectName,
                  'fieldNames' => $fieldNames,
              );
          }
  
          $this->data = array(
              'objects' => $objects,
          );
      }
code_tokens: public function collect ( Request $ request , Response $ response , Exception $ exception = null ) { $ objects = array ( ) ; $ objectNames = $ this -> flexModel -> getObjectNames ( ) ; foreach ( $ objectNames as $ objectName ) { $ fieldNames = $ this -> flexModel -> getFieldNames ( $ objectName ) ; $ objects [ ] = array ( 'objectName' => $ objectName , 'fieldNames' => $ fieldNames , ) ; } $ this -> data = array ( 'objects' => $ objects , ) ; }
docstring: Collect the specific FlexModel data for the Symfony Profiler.
  
  @param Request   $request
  @param Response  $response
  @param Exception $exception
docstring_tokens: Collect the specific FlexModel data for the Symfony Profiler .