/** * @inheritdoc */ public function run($arguments) { list($stopId) = explode(' ', $arguments); $stop = new Stop($stopId); list($lat, $lng) = $stop->getLatLng(); $this->user()->stop = $stopId; $this->replyWithMessage('Fermata ' . $stop->getName() . ' impostata.'); $this->replyWithMessage('Linee per questa fermata:'); $this->replyWithMessage($stop->getRoutesDisplay()); $this->replyWithLocation($lat, $lng); $this->replyWithMessage($this->user()->getHint()); }