for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace keeko\tools\generator\responder;
use gossi\codegen\model\PhpClass;
use keeko\framework\schema\ActionSchema;
use keeko\tools\generator\responder\AbstractJsonResponderGenerator;
class PayloadJsonResponderGenerator extends AbstractJsonResponderGenerator {
use PayloadGeneratorTrait;
protected function addMethods(PhpClass $class, ActionSchema $action) {
$action
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
$this->generateGetPayloadMethods($class, $this->twig->render('getPayloadMethods-skeleton.twig'));
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.