PHP code example of wwwision / dcb-example
1. Go to this page and download the library: Download wwwision/dcb-example library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
wwwision / dcb-example example snippets
$commandHandler->handle(new SubscribeStudentToCourse(CourseId::fromString('c1'), StudentId::fromString('s2')));
shell
php dcb-example-courses/index.php