Skip to content

Commit 4934618

Browse files
ctf0freekmurze
authored andcommitted
Update transformer.stub (#200)
add `$availableIncludes` & `$defaultIncludes`
1 parent 21704e4 commit 4934618

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/Console/stubs/transformer.stub

+18
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,24 @@ use League\Fractal\TransformerAbstract;
66

77
class DummyClass extends TransformerAbstract
88
{
9+
/**
10+
* List of resources to automatically include
11+
*
12+
* @var array
13+
*/
14+
protected $defaultIncludes = [
15+
//
16+
];
17+
18+
/**
19+
* List of resources possible to include
20+
*
21+
* @var array
22+
*/
23+
protected $availableIncludes = [
24+
//
25+
];
26+
927
/**
1028
* A Fractal transformer.
1129
*

0 commit comments

Comments
 (0)