public function doClean() { $deleted = ShowtimeService::cleanShowdates(); echo "Showtimes deleted: ", $deleted, "\n"; $cleaned = ShowtimeService::cleanPbis(); echo "PBI deleted: ", $cleaned, "\n"; exit; }
public function doMovieTheatres() { $movieId = (int) $this->_request->getQueryParam('movie_id'); $this->result['movie_theatres'] = $movieId && $this->geocode ? $this->showtimeService->getTheatres($this->geocode, $this->currentDate, $movieId, true) : array(); }