This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

HELP ME Issue Command

This is for discussion, mainly on 1.x but there's some 2.x topics here too.

HELP ME Issue Command

by phamhongson063 » Wed Nov 26, 2014 5:13 am

I write class

Code: Select all
namespace Briswell\KaatsuBundle\Command;

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

class RemindCommand extends Command {

    protected function configure()
    {
        $this->
            setName('kaatsu:remind')
            ->setDescription('・翌日予約ユーザに対し、予約日前日の12:00にメールを送信する');

    }

    protected function execute(InputInterface $input, OutputInterface $output)
    {

        $output->write('aaaaa');
    }

}


In screen I write:
Code: Select all
./app/console kaatsu:remind
in my shell

But it not wroking.

And show for me one message:

Code: Select all
[Symfony\Component\Config\Definition\Exception\ForbiddenOverwriteException]
  Configuration path "security.access_control" cannot be overwritten. You hav
  e to define all options for this path, and any of its sub-paths in one conf
  iguration section.



Help me. Please. Tks everyone
phamhongson063
Junior Member
 
Posts: 1
Joined: Wed Nov 26, 2014 5:09 am