This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Tests\Feature\Api\V1\CMS; | |
use App\Models\User; | |
use CMS\Models\Page; | |
use CMS\Models\Section; | |
use Faker\Generator as Faker; | |
use Illuminate\Foundation\Testing\DatabaseTransactions; | |
use Tests\TestCase; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Transformers; | |
/** | |
* Class BaseTransformer | |
*/ | |
class BaseTransformer | |
{ | |
/** | |
* The model or models to be transformed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Interface for classes which can be used in a ChainableClassContainer | |
*/ | |
interface ChainableClass | |
{ | |
public function handle(); | |
} |