PHP Class App\Models\Transformers\MediaTransformer

Inheritance: extends League\Fractal\TransformerAbstract
Show file Open project: spatie-custom/blender

Public Methods

Method Description
transform ( Media $media )

Method Details

transform() public method

public transform ( Media $media )
$media Spatie\MediaLibrary\Media