for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Laravel Platfourm package.
*
* (c) Avtandil Kikabidze aka LONGMAN <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Longman\Platfourm\Repository\Transformer;
use League\Fractal\TransformerAbstract;
use Longman\Platfourm\Contracts\Repository\Transformable;
/**
* Class ModelTransformer.
class ModelTransformer extends TransformerAbstract
{
public function transform(Transformable $model)
return $model->transform();
}