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