With the Mongolid\Manager, you can start using Mongolid with pure PHP by simply calling the addConnection method.
Example #1
0
 public function testShouldNotGetDataMapperForUnknownEntities()
 {
     // Arrange
     $manager = new Manager();
     // Assert
     $result = $manager->getMapper('Unknow');
     $this->assertNull($result);
 }