From 4934618fdd2ac3be702c91cadc1c274d6a98c24c Mon Sep 17 00:00:00 2001 From: Muah Date: Tue, 19 Nov 2019 19:20:57 +0200 Subject: [PATCH] Update transformer.stub (#200) add `$availableIncludes` & `$defaultIncludes` --- src/Console/stubs/transformer.stub | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/Console/stubs/transformer.stub b/src/Console/stubs/transformer.stub index d871263..5dfc6b9 100644 --- a/src/Console/stubs/transformer.stub +++ b/src/Console/stubs/transformer.stub @@ -6,6 +6,24 @@ use League\Fractal\TransformerAbstract; class DummyClass extends TransformerAbstract { + /** + * List of resources to automatically include + * + * @var array + */ + protected $defaultIncludes = [ + // + ]; + + /** + * List of resources possible to include + * + * @var array + */ + protected $availableIncludes = [ + // + ]; + /** * A Fractal transformer. *