Skip to content

Commit

Permalink
add command_property.php file
Browse files Browse the repository at this point in the history
  • Loading branch information
Haehnchen committed Apr 1, 2024
1 parent 712aa9d commit 77f7b21
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/main/resources/fileTemplates/command_property.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

declare(strict_types=1);

namespace {{ namespace }};

use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;

class {{ class }} extends Command
{
protected static $defaultName = '{{ command_name }}';
protected static $defaultDescription = 'Hello PhpStorm';

protected function execute(InputInterface $input, OutputInterface $output): int
{
return Command::SUCCESS;
}
}

0 comments on commit 77f7b21

Please sign in to comment.