I am getting undefined functions when i try to use the PSR 7 methods such as: getParsedBodyParam & withStatues
1- $_message = $request->getParsedBodyParam(‘message’,’’);
I followed a guide with lynda.com and confirmed some info on the documentation.
I did: require ‘vendor/autoload.php’;
getParseBody is working and give errors in phpstorm only.
but withStatues is not working properly and give me errors.
Can someone please help me with this. I can give you any part of my code.