Пример #1
0
 public function setUp()
 {
     parent::setUp();
     $mapperFactory = new AbstractMapperFactory();
     $this->venuesMapper = $mapperFactory->createServiceWithName($this->getApplicationServiceLocator(), 'venuesmappervenuesmapper', '\\Venues\\Mapper\\VenuesMapper');
     $this->venuesMapper->setTableGateway($this->getApplicationServiceLocator()->get('MockTableGateway'));
 }
 public function setUp()
 {
     parent::setUp();
     $mapperFactory = new AbstractMapperFactory();
     $this->memberPasswordResetsMapper = $mapperFactory->createServiceWithName($this->getApplicationServiceLocator(), 'authenticationmappermemberpasswordresetsmapper', '\\Authentication\\Mapper\\MemberPasswordResetsMapper');
     $this->memberPasswordResetsMapper->setTableGateway($this->getApplicationServiceLocator()->get('MockTableGateway'));
 }
Пример #3
0
 public function setUp()
 {
     parent::setUp();
     //		$mapperFactory = new AbstractMapperFactory;
     //		$this->pagesMapper = $mapperFactory->createServiceWithName($this->getApplicationServiceLocator(), 'registrationmappermembersmapper', '\Registration\Mapper\MembersMapper');
 }