Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $app->get('/images'), function () use ($app) {
- $images = array('images/1.jpg','images/2.jpg','images/3.jpg');
- $response = new JsonResponse($images);
- return $response;
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement