예제 #1
0
    protected function configure()
    {
        parent::configure();
        $this->setName('statsd:gauge')->setDescription('Sends a gauge metric to StatsD')->addArgument('key', InputArgument::REQUIRED, 'The key')->addArgument('value', InputArgument::REQUIRED, 'The value')->setHelp(<<<EOT
The <info>%command.name%</info> command sends a gauge metric to StatsD:

  <info>%command.full_name%</info>

EOT
);
    }
    protected function configure()
    {
        parent::configure();
        $this->setName('statsd:decrement')->setDescription('Decreases a counter by 1 in StatsD')->addArgument('key', InputArgument::REQUIRED, 'The key')->setHelp(<<<EOT
The <info>%command.name%</info> command sends a decrement metric to StatsD:

  <info>%command.full_name%</info>

EOT
);
    }