for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace League\Fractal\Test\Stub\Transformer;
use League\Fractal\TransformerAbstract;
class NullIncludeBookTransformer extends TransformerAbstract
{
protected $defaultIncludes = [
'author',
];
public function transform()
return ['a' => 'b'];
}
public function includeAuthor()
return $this->null();