PHP Classes

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: 7 years ago
Size: 360 bytes


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

'<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');