original_string: protected function createPicturesFor($product, $attr)
      {
          $pictures = Images::parse($attr->get('pictures'))
              ->on($this->basePath. '/' . $product->id)
              ->store();
  
          $product->pictures()->createMany($pictures);
      }
code: protected function createPicturesFor($product, $attr)
      {
          $pictures = Images::parse($attr->get('pictures'))
              ->on($this->basePath. '/' . $product->id)
              ->store();
  
          $product->pictures()->createMany($pictures);
      }
code_tokens: protected function createPicturesFor ( $ product , $ attr ) { $ pictures = Images :: parse ( $ attr -> get ( 'pictures' ) ) -> on ( $ this -> basePath . '/' . $ product -> id ) -> store ( ) ; $ product -> pictures ( ) -> createMany ( $ pictures ) ; }
docstring: Creates pictures for the given product.
  
  @param  \Antvel\Product\Models\Product $product
  @param  array $attr
  
  @return void
docstring_tokens: Creates pictures for the given product .