SHARE
TWEET

Untitled

a guest Nov 9th, 2019 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class FirstEntity
  2. {
  3.     /**
  4.      * @var EntitySecond
  5.      *
  6.      * @ORM\OneToOne(targetEntity="EntitySecond")
  7.      * @ORM\JoinColumn(name="entity_second", referencedColumnName="id", unique=false)
  8.      */
  9.     private $entitySecond;
  10.    
  11.      /**
  12.      * @return EntitySecond
  13.      */
  14.     public function getConfirmingDoc(): EntitySecond
  15.     {
  16.         return $this->entitySecond;
  17.     }
  18.  
  19.     /**
  20.      * @param EntitySecond $entitySecond
  21.      */
  22.     public function setConfirmingDoc(EntitySecond $entitySecond): void
  23.     {
  24.         $this->entitySecond = $entitySecond;
  25.     }
  26.  
  27. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top