♻️ Replace App\Model with App\Data
This commit is contained in:
parent
70e4404c22
commit
7f4f005302
12 changed files with 393 additions and 222 deletions
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
namespace App\Commands;
|
||||
|
||||
use App\Data\InputData;
|
||||
use App\Exceptions\Quit;
|
||||
use App\Models\Input;
|
||||
use App\Services\ProcessInput;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
|
|
@ -31,8 +31,8 @@ class GetShow extends Command
|
|||
return static::SUCCESS;
|
||||
}
|
||||
|
||||
protected function getInput(): Input
|
||||
protected function getInput(): InputData
|
||||
{
|
||||
return (new Input($this->options()))->assertValid();
|
||||
return InputData::from($this->options())->assertValid();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue