original_string: public function extract($object)
      {
          $return = array();
          foreach ($object as $profile) {
              $return[strtolower($profile->getName())] = $profile->getData();
          }
          return $return;
      }
code: public function extract($object)
      {
          $return = array();
          foreach ($object as $profile) {
              $return[strtolower($profile->getName())] = $profile->getData();
          }
          return $return;
      }
code_tokens: public function extract ( $ object ) { $ return = array ( ) ; foreach ( $ object as $ profile ) { $ return [ strtolower ( $ profile -> getName ( ) ) ] = $ profile -> getData ( ) ; } return $ return ; }
docstring: Extracts profile data from the collection.
  
  @param Collection $object
  @return array profile data in the format [profile name] => [profile data].
  @see \Zend\Hydrator\HydratorInterface::extract()
docstring_tokens: Extracts profile data from the collection .