original_string: public function preRemove(EventArgs $args)
      {
          $entity = $args->getEntity();
          if ($entity instanceof SakonninFile) {
             // VichUploader removes this property when it removes the file,
             // alas I need to store it somehow.
             $this->removes[] = $entity->getStoredAs();
          }
      }
code: public function preRemove(EventArgs $args)
      {
          $entity = $args->getEntity();
          if ($entity instanceof SakonninFile) {
             // VichUploader removes this property when it removes the file,
             // alas I need to store it somehow.
             $this->removes[] = $entity->getStoredAs();
          }
      }
code_tokens: public function preRemove ( EventArgs $ args ) { $ entity = $ args -> getEntity ( ) ; if ( $ entity instanceof SakonninFile ) { // VichUploader removes this property when it removes the file, // alas I need to store it somehow. $ this -> removes [ ] = $ entity -> getStoredAs ( ) ; } }
docstring: Ensures a proxy will be usable in the postRemove.
  
  @param EventArgs $event The event.
docstring_tokens: Ensures a proxy will be usable in the postRemove .