private function setUpSelectedFilmDates()
 {
     foreach (parent::request('session') as $date) {
         if ($date->FilmId === $this->film_id) {
             $this->selected_dates[] = new Date($date);
         }
     }
 }
 /**
  * Get the selected film
  * @param  String $film_id 
  * @return VeeziAPI\Repositories\Film\Film
  */
 public function selectedFilm($film_id)
 {
     //-- currently the film ID is a string so lets validate this
     if (is_string($film_id) && !empty($film_id)) {
         $selected_film = new Film(parent::request('film/' . $film_id));
         return $selected_film;
     }
     return fasle;
 }
 /**
  * get the actual dates for the selcted film
  * @param  string $film_id
  * @return Array
  */
 private function getFilmDates($film_id)
 {
     $selected_dates = [];
     foreach (parent::request('session') as $date) {
         if ($date->FilmId === $film_id && $date->Status === 'Open') {
             $selected_dates[] = new DatesAndTimes($date);
         }
     }
     return $selected_dates;
 }