예제 #1
0
 /**
  * {@inheritDoc}
  */
 public function clean()
 {
     if (is_resource($this->resource)) {
         imagedestroy($this->resource);
     }
     parent::clean();
 }
예제 #2
0
 /**
  * {@inheritDoc}
  */
 public function clean()
 {
     if (file_exists($this->tmpFile)) {
         @unlink($this->tmpFile);
     }
     if (file_exists($this->intermediate)) {
         @unlink($this->intermediate);
     }
     $this->commands = [];
     $this->loader->clean();
     parent::clean();
 }