Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | public function generateJsonRelationshipResponder(Relationship $relationship) { |
||
20 | $namespace = $this->service->getFactory()->getNamespaceGenerator()->getJsonRelationshipResponderNamespace(); |
||
21 | return sprintf('%s\\%s%sJsonResponder', |
||
22 | $namespace, $relationship->getModel()->getPhpName(), $relationship->getRelatedName() |
||
23 | ); |
||
24 | } |
||
25 | } |