Skip to content

Commit

Permalink
vue tranformer clean up and outbound created
Browse files Browse the repository at this point in the history
  • Loading branch information
alnutile committed May 31, 2023
1 parent 0afa988 commit d748648
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 18 deletions.
6 changes: 1 addition & 5 deletions app/Generators/Outbound/VueOutbound.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,11 @@

namespace App\Generators\Outbound;

use App\Generators\Base;
use App\Generators\BaseRepository;
use App\Generators\VueGenerator;
use Facades\App\Generators\TokenReplacer;
use Illuminate\Support\Facades\File;

class VueOutbound extends VueGenerator
{
protected string $generatorName = 'Outbound';
protected string $plural = 's';

protected string $plural = 's';
}
3 changes: 0 additions & 3 deletions app/Generators/ResponseType/VueTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@

namespace App\Generators\ResponseType;

use App\Generators\BaseRepository;
use App\Generators\VueGenerator;
use Facades\App\Generators\TokenReplacer;
use Illuminate\Support\Facades\File;

class VueTransformer extends VueGenerator
{
Expand Down
5 changes: 1 addition & 4 deletions app/Generators/Source/VueSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@

namespace App\Generators\Source;

use App\Generators\Base;
use App\Generators\BaseRepository;
use App\Generators\VueGenerator;
use Facades\App\Generators\TokenReplacer;
use Illuminate\Support\Facades\File;

class VueSource extends VueGenerator
{
protected string $generatorName = 'Source';

protected string $plural = 'es';
}
5 changes: 1 addition & 4 deletions app/Generators/Transformer/VueTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@

namespace App\Generators\Transformer;

use App\Generators\Base;
use App\Generators\BaseRepository;
use App\Generators\VueGenerator;
use Facades\App\Generators\TokenReplacer;
use Illuminate\Support\Facades\File;

class VueTransformer extends VueGenerator
{
protected string $generatorName = 'Transformer';

protected string $plural = 's';
}
3 changes: 1 addition & 2 deletions app/Generators/VueGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@

namespace App\Generators;

use App\Generators\Base;
use App\Generators\BaseRepository;
use Facades\App\Generators\TokenReplacer;
use Illuminate\Support\Facades\File;

class VueGenerator extends Base
{
protected string $generatorName = 'Outbound';

protected string $plural = 's';

public function handle(BaseRepository $generatorRepository): void
Expand Down

0 comments on commit d748648

Please sign in to comment.