i am reworking some old typo3 project extensions. the problem is we have to stay on that pibase structure as it is supported by core anyway. so that extension does some simple CRUD operations, in my case an insert based on submitted values via $_POST. so the old extension just used $_POST directly which is not supported anymore, i guess since the PSR-7 Request/Response implementation.
but now how can i access the submitted values since $_POST is not available anymore and i do not have $this->request either because the extension extends AbstractPlugin.
edit: also we are not inside main() the codeblock is within sendMail()
i also have no idea were sendMail gets called from as there is no available documentation for pibase.
help is much appreciated