public function __construct(\Eccube\Application $app, $name = null)
 {
     parent::__construct($name);
     $app['debug'] = true;
     $app->initialize();
     // executeでdump($app)を使いたいので.
     $dumper = new \Sorien\Provider\PimpleDumpProvider();
     $app->register($dumper, array('dumper' => $dumper));
     $app->boot();
     $this->app = $app;
 }
Esempio n. 2
0
 public function __construct(\Eccube\Application $app, $name = null)
 {
     parent::__construct($name);
     $this->app = $app;
 }
Esempio n. 3
0
 public function __construct()
 {
     parent::__construct('sh');
 }
 protected function configure()
 {
     parent::configure();
     $this->setName('updateSchema');
     $this->setDescription('Write the schema to the database');
 }
Esempio n. 5
0
 /**
  * @param string $name
  * @param string $consumerName
  */
 public function __construct($name, $consumerName)
 {
     parent::__construct($name);
     $this->consumerName = $consumerName;
 }
Esempio n. 6
0
 /**
  * Class constructor
  * 
  * @param BogoBogoSorter $sorter Bogobogo sorter
  */
 public function __construct(BogoBogoSorter $sorter)
 {
     parent::__construct();
     $this->sorter = $sorter;
 }
Esempio n. 7
0
 protected function configure()
 {
     parent::configure();
     $this->setName('addUser')->setDescription('Add a user record')->addArgument('username', InputArgument::REQUIRED, 'Username?')->addArgument('email', InputArgument::REQUIRED, 'Email?')->addArgument('password', InputArgument::REQUIRED, 'Password?');
 }