Philipp Holzer
8bdd90066f
Make BaseModule
a real entity
...
- Add all dependencies, necessary to run the content (baseUrl, Arguments)
- Encapsulate all POST/GET/DELETE/PATCH/PUT methods as protected methods inside the BaseModule
- Return Module content ONLY per `BaseModule::run()` (including the Hook logic there as well)
2021-11-27 12:40:36 +01:00
Michael
299d70ca1d
Standards
2021-11-24 23:31:10 +00:00
Michael
260ee13d07
Standards
2021-11-24 23:24:35 +00:00
Michael
242fd646d2
Formatting
2021-11-24 23:06:28 +00:00
Michael
c4d52feea5
Many API calls moved
2021-11-24 23:03:34 +00:00
Michael
1f79d25ffc
Replaced "api_date"
2021-11-18 21:43:13 +00:00
Philipp Holzer
5879535822
Switch static::$parameters
to $this->parameters
2021-11-14 23:49:07 +01:00
Philipp Holzer
489cd0884a
Make BaseModule methods dynamic
2021-11-14 23:49:06 +01:00
Philipp Holzer
714f0febc4
Replace $parameters
argument per method with static::$parameters
2021-11-14 23:49:05 +01:00
Philipp Holzer
ea0f41ecf0
Transform ApiResponse::exit() into dynamic method
2021-11-12 20:03:27 +01:00
Philipp Holzer
319f91301d
Move API Response methods into an own class to make them mockable
2021-11-12 19:52:01 +01:00
Michael
1518ad33ad
API: Classes moved to the correct places according to their origin
2021-11-10 07:31:39 +00:00