/** * Show all dogs * * Get a JSON representation of all the dogs * * @Get('/') */ public function index() { return $this->collection(Premise::all(), new PremiseTransformer()); }