public function __construct($app)
 {
     parent::__construct($app);
     $this->dataMapper = new SettingMapper($this->app->container->pdo);
 }
 public function __construct($app)
 {
     parent::__construct($app);
     $this->dataMapper = new SettingMapper($this->app['pdo']);
 }
Exemple #3
0
 public function __construct(App $app)
 {
     parent::__construct($app);
     $this->userMapper = new UserMapper($this->app['pdo']);
 }