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; }
public function __construct(\Eccube\Application $app, $name = null) { parent::__construct($name); $this->app = $app; }
public function __construct() { parent::__construct('sh'); }
/** * @param string $name * @param string $consumerName */ public function __construct($name, $consumerName) { parent::__construct($name); $this->consumerName = $consumerName; }
/** * Class constructor * * @param BogoBogoSorter $sorter Bogobogo sorter */ public function __construct(BogoBogoSorter $sorter) { parent::__construct(); $this->sorter = $sorter; }