* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ // show errors error_reporting(E_ALL); // lets stop the time $start = microtime(true); // enable autoloading of classes require_once('../lib/MwbExporter/Core/SplClassLoader.php'); $classLoader = new SplClassLoader(); $classLoader->setIncludePath('../lib'); $classLoader->register(); // show a simple text box with the output echo '<textarea cols="100" rows="50">'; $setup = array(); // create a formatter $formatter = new \MwbExporter\Formatter\Doctrine2\Annotation\Loader($setup); // parse the mwb file $mwb = new \MwbExporter\Core\Workbench\Document('data/test.mwb', $formatter); // show the export output of the mwb file echo $mwb->display();