-
Notifications
You must be signed in to change notification settings - Fork 1
Concepts
Ratnadeep Deb edited this page Dec 10, 2016
·
2 revisions
When the URL http://www.example.com/mycontroller/myaction is entered in the address bar, LightPHP will look for a controller by name MycontrollerController having a method getMyaction.
app
config
controllers
public
index.php
vendor
composer.json
{
"data": {
"key1": "data returned by controller",
"key2": "another data returned by controller"
}
}
{
"errors": {
"message": "Internal error occurred"
}
}