forked from joomla/joomla-cms
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added route function * Added ApiRouter class * Fixing phpcs errors * Fixed coding standard issues, wrong namespace * Added service provider for ApiRouter * Changed the name of getRouter to getApiRouter * Fixed some phpcs issues * Codestyle * Code style part 2 * Changed the delimiter of controller function * Modified parseRoute method to parse the controller to be an array of class and method * Fixed code standard issues * Code style * Added dispatch function, Edited parseRoute function * Added request method to the route parsing function, removed some unnecessary code and called dispatch function in doExecute function * Code style * Added request variables to the input object * Type safe comparison * Removed the API component path constant * Update ApiApplication.php
- Loading branch information
Showing
3 changed files
with
130 additions
and
14 deletions.
There are no files selected for viewing
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
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
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