original_string: public function loadMetadataForClass(\ReflectionClass $class)
      {
          $classMetadata = new MergeableClassMetadata($class->getName());
  
          foreach ($class->getProperties() as $reflectionProperty) {
              $propertyMetadata = new PropertyMetadata($class->getName(), $reflectionProperty->getName());
  
              /** @var $annotation \Zicht\Bundle\FileManagerBundle\Annotation\File */
              $annotation = $this->reader->getPropertyAnnotation(
                  $reflectionProperty,
                  'Zicht\Bundle\FileManagerBundle\Annotation\File'
              );
              if (null !== $annotation) {
                  // a "@DefaultValue" annotation was found
                  $propertyMetadata->fileManager = $annotation->settings;
              }
  
              $classMetadata->addPropertyMetadata($propertyMetadata);
          }
  
          return $classMetadata;
      }
code: public function loadMetadataForClass(\ReflectionClass $class)
      {
          $classMetadata = new MergeableClassMetadata($class->getName());
  
          foreach ($class->getProperties() as $reflectionProperty) {
              $propertyMetadata = new PropertyMetadata($class->getName(), $reflectionProperty->getName());
  
              /** @var $annotation \Zicht\Bundle\FileManagerBundle\Annotation\File */
              $annotation = $this->reader->getPropertyAnnotation(
                  $reflectionProperty,
                  'Zicht\Bundle\FileManagerBundle\Annotation\File'
              );
              if (null !== $annotation) {
                  // a "@DefaultValue" annotation was found
                  $propertyMetadata->fileManager = $annotation->settings;
              }
  
              $classMetadata->addPropertyMetadata($propertyMetadata);
          }
  
          return $classMetadata;
      }
code_tokens: public function loadMetadataForClass ( \ ReflectionClass $ class ) { $ classMetadata = new MergeableClassMetadata ( $ class -> getName ( ) ) ; foreach ( $ class -> getProperties ( ) as $ reflectionProperty ) { $ propertyMetadata = new PropertyMetadata ( $ class -> getName ( ) , $ reflectionProperty -> getName ( ) ) ; /** @var $annotation \Zicht\Bundle\FileManagerBundle\Annotation\File */ $ annotation = $ this -> reader -> getPropertyAnnotation ( $ reflectionProperty , 'Zicht\Bundle\FileManagerBundle\Annotation\File' ) ; if ( null !== $ annotation ) { // a "@DefaultValue" annotation was found $ propertyMetadata -> fileManager = $ annotation -> settings ; } $ classMetadata -> addPropertyMetadata ( $ propertyMetadata ) ; } return $ classMetadata ; }
docstring: Loads the metadata for the class.
  
  @param \ReflectionClass $class
  @return \Metadata\MergeableClassMetadata
docstring_tokens: Loads the metadata for the class .