original_string: public function preload($preload)
      {
          $validPreloadAttrs = ['auto', 'metadata', 'none'];
          
          if (\in_array($preload, $validPreloadAttrs, true)) {
              $this->attributes['preload'] = $preload;
          }
  
          return $this;
      }
code: public function preload($preload)
      {
          $validPreloadAttrs = ['auto', 'metadata', 'none'];
          
          if (\in_array($preload, $validPreloadAttrs, true)) {
              $this->attributes['preload'] = $preload;
          }
  
          return $this;
      }
code_tokens: public function preload ( $ preload ) { $ validPreloadAttrs = [ 'auto' , 'metadata' , 'none' ] ; if ( \ in_array ( $ preload , $ validPreloadAttrs , true ) ) { $ this -> attributes [ 'preload' ] = $ preload ; } return $ this ; }
docstring: Allows to set the preload behaviour
  
  @param string $preload
  @return $this
docstring_tokens: Allows to set the preload behaviour