1
0

ContextTransformer.php 221 B

12345678910111213141516
  1. <?php
  2. namespace App\Transformer\Api;
  3. use League\Fractal;
  4. class ContextTransformer extends Fractal\TransformerAbstract
  5. {
  6. public function transform()
  7. {
  8. return [
  9. 'ancestors' => [],
  10. 'descendants' => []
  11. ];
  12. }
  13. }