Created
March 23, 2016 02:13
-
-
Save matthewbaggett/cbe253df5c93ac2bf4c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$app->get( "/v1/addresses", [$container['AddressController'], 'listRequest'])->setName("Address List"); | |
$app->get( "/v1/addresses/{id}", [$container['AddressController'], 'getRequest'])->setName("Address Get"); | |
$app->put( "/v1/addresses", [$container['AddressController'], 'createRequest'])->setName("Address Create"); | |
$app->delete("/v1/addresses/{id}", [$container['AddressController'], 'deleteRequest'])->setName("Address Delete"); | |
// Repeated about 600 more times. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment