private function setPinNotifications() { $createNotification = new Pin\Notification\Generic("Showtime Pin Set", Pin\Icon::MOVIE_EVENT); $createNotification->setLargeIcon(Pin\Icon::MOVIE_EVENT)->setBody("Timeline pin for {$this->showtime->movie->title} at {$this->showtime->theatre->name} has been created."); $updateNotification = new Pin\Notification\Generic("Showtime Pin Updated", Pin\Icon::MOVIE_EVENT); $updateNotification->setLargeIcon(Pin\Icon::MOVIE_EVENT)->setBody("Timeline pin for {$this->showtime->movie->title} at {$this->showtime->theatre->name} has been updated."); $updateNotification->setTime(new \DateTime('now', $this->dateTimeZone)); $this->pin->setCreateNotification($createNotification)->setUpdateNotification($updateNotification); }