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: 8 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);