Exemplo n.º 1
0
<?php

require 'vendor/autoload.php';
//this autoloads everything
$registration = new Acme\RegisterUser();
$authController = new Acme\AuthController($registration);
$authController->register();
?>
 	
Exemplo n.º 2
0
<?php

$registration = new Acme\RegisterUser();
$authcontroller = new Acme\AuthController($registration);
$authcontroller->register();