Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function addImage(TicketImage $image): Ticket
- {
- $this->images->add($image);
- $image->setTicket($this); // works
- $image->setTicket($this->getChild()); // doesn't work
- return $this;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement