public function setUp()
 {
     parent::setUp();
     $this->mapper = new Mapper($this->pdo, 'post', 'post_id');
 }
 public function setUp()
 {
     parent::setUp();
     $this->mapper = new PostMapper($this->pdo);
 }
Esempio n. 3
0
 public function setUp()
 {
     parent::setUp();
     $this->db = new DbAdapter($this->pdo);
 }