Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Sep 1, 2023
1 parent 96e032a commit 90b28f6
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 176 deletions.
2 changes: 1 addition & 1 deletion src/Commands/Component.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Illuminate\Support\Collection;
use Illuminate\Support\Str;
use Orchestra\Canvas\Processors\GeneratesCodeWithComponent;
use Orchestra\Canvas\Core\GeneratesCodeWithComponent;
use Symfony\Component\Console\Input\InputOption;

/**
Expand Down
8 changes: 0 additions & 8 deletions src/Commands/Database/Eloquent.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Illuminate\Support\Str;
use Orchestra\Canvas\Commands\Generator;
use Orchestra\Canvas\Processors\GeneratesEloquentCode;
use Symfony\Component\Console\Input\InputOption;

/**
Expand Down Expand Up @@ -33,13 +32,6 @@ class Eloquent extends Generator
*/
protected $type = 'Model';

/**
* Generator processor.
*
* @var string
*/
protected $processor = GeneratesEloquentCode::class;

/**
* Code successfully generated.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/Database/Observer.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Orchestra\Canvas\Commands\Database;

use Orchestra\Canvas\Commands\Generator;
use Orchestra\Canvas\Processors\GeneratesCodeWithEloquent;
use Orchestra\Canvas\Core\GeneratesCodeWithEloquent;
use Symfony\Component\Console\Input\InputOption;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/Mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Orchestra\Canvas\Commands;

use Illuminate\Support\Str;
use Orchestra\Canvas\Processors\GeneratesCodeWithMarkdown;
use Orchestra\Canvas\Core\GeneratesCodeWithMarkdown;
use Symfony\Component\Console\Input\InputOption;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/Notification.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Orchestra\Canvas\Commands;

use Illuminate\Support\Str;
use Orchestra\Canvas\Processors\GeneratesCodeWithMarkdown;
use Orchestra\Canvas\Core\GeneratesCodeWithMarkdown;
use Symfony\Component\Console\Input\InputOption;

/**
Expand Down
37 changes: 0 additions & 37 deletions src/Processors/GeneratesCodeWithComponent.php

This file was deleted.

90 changes: 0 additions & 90 deletions src/Processors/GeneratesCodeWithEloquent.php

This file was deleted.

22 changes: 0 additions & 22 deletions src/Processors/GeneratesCodeWithMarkdown.php

This file was deleted.

15 changes: 0 additions & 15 deletions src/Processors/GeneratesEloquentCode.php

This file was deleted.

0 comments on commit 90b28f6

Please sign in to comment.