File: table-module.php

Recommend this page to a friend!
  Classes of Nemeth Zoltan  >  PHP Domain Driven Design  >  table-module.php  >  Download  
File: table-module.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Domain Driven Design
Domain driven design using domain logic classes
Author: By
Last change:
Date: 4 years ago
Size: 360 bytes
 

Contents

Class file image Download
<?php
/**
 * Table Module example
 */
include_once __DIR__ . '/vendor/autoload.php';

echo
'<h2>Table Module</h2>';

$users = new \DL\Model\Users();
$messages = new \DL\Model\Messages();

$assembler = new \DL\Model\MessageAssembler($users, $messages);

$messages = $assembler->getMessageByUserIdAndLastSyncDate(1, '2016-01-01 00:00:00');

var_dump($messages);


For more information send a message to info at phpclasses dot org.