Exemplo n.º 1
0
 /**
  * Add document
  *
  * @param \SW\DocManagerBundle\Entity\Document $document
  *
  * @return UploadSession
  */
 public function addDocument(\SW\DocManagerBundle\Entity\Document $document)
 {
     $this->documents[] = $document;
     $document->setUploadSession($this);
     return $this;
 }