private function setPinReminder() { $time = $this->getDateTime($this->showtime->show_date, $this->showtime->show_time, -$this->reminderMinutes); if ($this->reminderMinutes > 0) { $reminder = new Pin\Reminder\Generic($time, "Reminder: {$this->showtime->movie->title}", Pin\Icon::MOVIE_EVENT); $timeAp = $this->pin->getTime()->format('h:ia'); $reminder->setBody("Hey, movie starts by {$timeAp}, at {$this->showtime->theatre->name}, {$this->showtime->theatre->address}")->setLargeIcon(Pin\Icon::MOVIE_EVENT)->setSmallIcon(Pin\Icon::MOVIE_EVENT); $this->pin->addReminder($reminder); } }