add dev packages, caps Log util, add tools config
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Command;
|
||||
|
||||
use Hyperf\Command\Command as HyperfCommand;
|
||||
use Hyperf\Command\Annotation\Command;
|
||||
use Psr\Container\ContainerInterface;
|
||||
|
||||
#[Command]
|
||||
class AppCompanySync extends HyperfCommand
|
||||
{
|
||||
public function __construct(protected ContainerInterface $container)
|
||||
{
|
||||
parent::__construct('app:company:sync');
|
||||
}
|
||||
|
||||
public function configure()
|
||||
{
|
||||
parent::configure();
|
||||
$this->setDescription('Sync companies from Tools Dashboard');
|
||||
}
|
||||
|
||||
public function handle()
|
||||
{
|
||||
$companies =
|
||||
|
||||
$this->line('Hello Hyperf!', 'info');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user