unBindAll() public méthode

unset all fileable's files to fileable
public unBindAll ( string $fileableId ) : void
$fileableId string fileable identifier
Résultat void
 /**
  * Set site representative image
  *
  * @param Image $image image instance
  * @return void
  */
 public function setSiteImage(Image $image)
 {
     $this->storage->unBindAll($this->get('uuid'));
     $this->storage->bind($this->get('uuid'), $image);
     $this->image = $image;
 }