original_string: public static function enable()
      {
          foreach (self::$validTypes as $type) {
              Field::macro("asFile$type", function (Field $builder) use ($type) {
                  return new static($builder->getClassMetadata(), $builder->getName(), $type);
              });
          }
      }
code: public static function enable()
      {
          foreach (self::$validTypes as $type) {
              Field::macro("asFile$type", function (Field $builder) use ($type) {
                  return new static($builder->getClassMetadata(), $builder->getName(), $type);
              });
          }
      }
code_tokens: public static function enable ( ) { foreach ( self :: $ validTypes as $ type ) { Field :: macro ( "asFile$type" , function ( Field $ builder ) use ( $ type ) { return new static ( $ builder -> getClassMetadata ( ) , $ builder -> getName ( ) , $ type ) ; } ) ; } }
docstring: Enable the UploadableFile extension.
  
  @return void
docstring_tokens: Enable the UploadableFile extension .