Skip to content

Commit

Permalink
Update transformer.stub (#200)
Browse files Browse the repository at this point in the history
add `$availableIncludes` & `$defaultIncludes`
  • Loading branch information
ctf0 authored and freekmurze committed Nov 19, 2019
1 parent 21704e4 commit 4934618
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/Console/stubs/transformer.stub
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 4934618

Please sign in to comment.