lwc/kumite-moa

Bridge library for backing Kumite onto Moa

Installs: 3 236

Dependents: 0

Watchers: 1

Language: PHP

0.5.2 2013-01-22 12:21 UTC

README

Bridge library to back Kumite onto mongoDb via moa

Installing

composer require lwc/kumite-moa

Using

Provide an instance of MoaStorageAdapter during the setup of kumite:

<?php

Kumite::setup(array(
  'storageAdapter' => new MoaStorageAdapter(),
  'tests' => function() {
    require_once('path/to/configuration/file.php');
    return $config;
  }
));
Querying

Query for events and participants via the Moa domain objects, see 99designs/moa for details